diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-04-15 00:20:29 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-04-15 00:20:29 +0000 |
commit | bd9f98c6ce2bcd6871a85fd72cdf480f649b6977 (patch) | |
tree | 8185281b8c7de1cf0d770127f3b930c02b972a29 /games | |
parent | 9563c0618e58b416a1dc7b9525724b02724efe41 (diff) | |
download | pkgsrc-bd9f98c6ce2bcd6871a85fd72cdf480f649b6977.tar.gz |
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 (limited to 'games')
-rw-r--r-- | games/quake3arena/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/games/quake3arena/Makefile b/games/quake3arena/Makefile index c33d1f55b26..2b2210ca134 100644 --- a/games/quake3arena/Makefile +++ b/games/quake3arena/Makefile @@ -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 @@ MAINTAINER= jmcneill@invisible.yi.org 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 @@ USE_X11= yes 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 @@ do-install: cd ${WRKSRC} && ${PAX} -rw baseq3 ${LIBDIR} +.if ${OPSYS} == "FreeBSD" +post-install: + ${BRANDELF} -t Linux ${LIBDIR}/${BINNAME} +.endif + .include "../../mk/bsd.pkg.mk" |