diff options
author | dsainty <dsainty@pkgsrc.org> | 2008-05-28 13:18:30 +0000 |
---|---|---|
committer | dsainty <dsainty@pkgsrc.org> | 2008-05-28 13:18:30 +0000 |
commit | b16d8c8c7a0ec752fc9f5e87ad1c30c745fa729a (patch) | |
tree | 2e2bb060c1f743a22f85eb8bba687fe13dd85de4 /games/xblast | |
parent | 69a5518a1b4b8781da1aa28fd5340892a2573c0d (diff) | |
download | pkgsrc-b16d8c8c7a0ec752fc9f5e87ad1c30c745fa729a.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/xblast')
-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: |