diff options
author | dsainty <dsainty> | 2008-05-28 13:18:30 +0000 |
---|---|---|
committer | dsainty <dsainty> | 2008-05-28 13:18:30 +0000 |
commit | 9b7189613f4128f1cf43b86072b605a65c19c682 (patch) | |
tree | 2e2bb060c1f743a22f85eb8bba687fe13dd85de4 /games | |
parent | 0482acf894c762b944e2b533265a25476f95a300 (diff) | |
download | pkgsrc-9b7189613f4128f1cf43b86072b605a65c19c682.tar.gz |
Fully qualify the path to xbsndsrv, so sound works without errors even
if running xblast without the PREFIX/bin in your path.
Bump PKGREVISION.
Diffstat (limited to 'games')
-rw-r--r-- | games/xblast/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/games/xblast/Makefile b/games/xblast/Makefile index 6d5a2d75690..e8da348bddc 100644 --- a/games/xblast/Makefile +++ b/games/xblast/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.26 2007/03/24 19:21:24 joerg Exp $ +# $NetBSD: Makefile,v 1.27 2008/05/28 13:18:30 dsainty Exp $ # DISTNAME= xblast-2.10.2 +PKGREVISION= 1 CATEGORIES= games x11 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xblast/} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ @@ -18,6 +19,7 @@ COMMENT= 2-6 player kill the other guy with bombs game. A real blast! GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-sound CONFIGURE_ARGS+= --enable-SMPF +#CONFIGURE_ARGS+= --enable-mini CONFIGURE_ARGS+= --with-otherdatadir=${PREFIX}/share/xblast SUBST_CLASSES+= ossaudio @@ -26,6 +28,12 @@ SUBST_MESSAGE.ossaudio= "Linking ossaudio library" SUBST_FILES.ossaudio= Makefile.in SUBST_SED.ossaudio=-e 's|xbsndsrv_LDFLAGS =|xbsndsrv_LDFLAGS = ${LIBOSSAUDIO}|' +SUBST_CLASSES+= xbsndsrv +SUBST_STAGE.xbsndsrv= pre-configure +SUBST_MESSAGE.xbsndsrv= "Qualify path to xbsndsrv" +SUBST_FILES.xbsndsrv= x11_sound.c +SUBST_SED.xbsndsrv= -e 's|"xbsndsrv"|"${PREFIX}/bin/xbsndsrv"|' + INSTALLATION_DIRS= ${PKGMANDIR}/man6 pre-build: |