summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorrillig <rillig>2006-09-19 20:59:30 +0000
committerrillig <rillig>2006-09-19 20:59:30 +0000
commitf6e478d4a609651f02eb1ffe196b637db52fb294 (patch)
tree9648f7ced568f98d9d7f234f82c789c02c0c93ed /audio
parent02178d5e5681f661658245ff9f5cfb9d9bdc008a (diff)
downloadpkgsrc-f6e478d4a609651f02eb1ffe196b637db52fb294.tar.gz
Since QTDIR is an absolute pathname, it must not be prefixed with
LOCALBASE. This fixes the build on NetBSD. Replaced the shell interpreter in some plugin files. Bumped PKGREVISION.
Diffstat (limited to 'audio')
-rw-r--r--audio/madman/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/audio/madman/Makefile b/audio/madman/Makefile
index 6344eb80a8c..c7afedb955c 100644
--- a/audio/madman/Makefile
+++ b/audio/madman/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.20 2006/05/31 10:25:19 joerg Exp $
+# $NetBSD: Makefile,v 1.21 2006/09/19 20:59:30 rillig Exp $
DISTNAME= madman-0.93
-PKGREVISION= 6
+PKGREVISION= 7
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=madman/}
@@ -14,6 +14,8 @@ BUILD_DEPENDS+= scons>=0.96:../../devel/scons
USE_LANGUAGES= c c++
GCC_REQD+= 3.0
+REPLACE_SH+= plugins/*_*
+USE_TOOLS+= sh:run
INSTALLATION_DIRS= bin
post-extract:
@@ -21,7 +23,7 @@ post-extract:
${SED} -e 's,#! /usr/bin/env python,#!${PYTHONBIN},' ${WRKSRC}/httpd/make_webdata.org > ${WRKSRC}/httpd/make_webdata
${CHMOD} 755 ${WRKSRC}/httpd/make_webdata
${MV} ${WRKSRC}/main/SConscript ${WRKSRC}/main/SConscript.org
- ${AWK} '{print} NR == 20 {print "myenv.Append(LINKFLAGS = \"${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} -Wl,-R${X11BASE}/lib,-R${LOCALBASE}/lib,-R${LOCALBASE}${QTDIR}/lib\")"}' ${WRKSRC}/main/SConscript.org > ${WRKSRC}/main/SConscript
+ ${AWK} '{print} NR == 20 {print "myenv.Append(LINKFLAGS = \"${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} -Wl,-R${X11BASE}/lib,-R${LOCALBASE}/lib,-R${QTDIR}/lib\")"}' ${WRKSRC}/main/SConscript.org > ${WRKSRC}/main/SConscript
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/scons -C ${WRKSRC} prefix=${PREFIX} \