pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/xblast Fully qualify the path to xbsndsrv, so so...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/44c002ad63d7
branches:  trunk
changeset: 542805:44c002ad63d7
user:      dsainty <dsainty%pkgsrc.org@localhost>
date:      Wed May 28 13:18:30 2008 +0000

description:
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:

 games/xblast/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 47fe1d848b1f -r 44c002ad63d7 games/xblast/Makefile
--- a/games/xblast/Makefile     Wed May 28 12:10:26 2008 +0000
+++ b/games/xblast/Makefile     Wed May 28 13:18:30 2008 +0000
@@ -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 @@
 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_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:



Home | Main Index | Thread Index | Old Index