pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/quake3arena Mark quake3 binary as Linux ELF afte...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fc577cedd349
branches:  trunk
changeset: 472976:fc577cedd349
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Thu Apr 15 00:20:29 2004 +0000

description:
Mark quake3 binary as Linux ELF after installation, so we could run
it in FreeBSD without any problem (doesn't affect the other systems).

diffstat:

 games/quake3arena/Makefile |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (37 lines):

diff -r efadf2ca272b -r fc577cedd349 games/quake3arena/Makefile
--- a/games/quake3arena/Makefile        Thu Apr 15 00:07:26 2004 +0000
+++ b/games/quake3arena/Makefile        Thu Apr 15 00:20:29 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2004/01/20 12:15:41 agc Exp $
+# $NetBSD: Makefile,v 1.16 2004/04/15 00:20:29 xtraeme Exp $
 
 DISTNAME=      linuxq3apoint-1.32b.x86
 PKGREVISION=   1
@@ -12,7 +12,7 @@
 HOMEPAGE=      http://www.quake3arena.com/
 COMMENT=       Quake 3 Arena -- first person shooter (binary only, no data files)
 
-CONFLICTS=     quake3arena-demo-[0-9]*
+CONFLICTS=     quake3arena-demo-[0-9]*
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -29,6 +29,8 @@
 NO_SRC_ON_FTP= no
 NO_BIN_ON_FTP= no
 NO_CONFIGURE=  yes
+CHECK_SHLIBS=  NO
+
 EXTRACT_CMD=   ${SED} '1,265d' ${DOWNLOADED_DISTFILE} | ${GTAR} xzf -
 
 .if !make(fetch)
@@ -59,4 +61,9 @@
 
        cd ${WRKSRC} && ${PAX} -rw baseq3 ${LIBDIR}
 
+.if ${OPSYS} == "FreeBSD"
+post-install:
+       ${BRANDELF} -t Linux ${LIBDIR}/${BINNAME}
+.endif
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index