summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjoerg <joerg>2009-09-05 10:05:19 +0000
committerjoerg <joerg>2009-09-05 10:05:19 +0000
commitbbb03bc7544546eea7efab9f5c9ac0b773bbf87c (patch)
tree49637741554a2c2769fb8466dafd792530e2be82 /sysutils
parentb8190a41d3987ad2f62ab00965418394e237aa0d (diff)
downloadpkgsrc-bbb03bc7544546eea7efab9f5c9ac0b773bbf87c.tar.gz
We want no /opt/schily, so patch the Defaults rules. wrapper already
takes care of absolute options, but the value of INS_BASE is based down via -D too. Bump revision.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/cdrtools/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/sysutils/cdrtools/Makefile b/sysutils/cdrtools/Makefile
index 6d2f2361f9d..42650f42298 100644
--- a/sysutils/cdrtools/Makefile
+++ b/sysutils/cdrtools/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.58 2009/08/15 21:03:25 wiz Exp $
+# $NetBSD: Makefile,v 1.59 2009/09/05 10:05:19 joerg Exp $
DISTNAME= cdrtools-2.01.01a63
PKGNAME= ${DISTNAME:S/a/alpha/:S/-pre/pre/}
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.berlios.de/pub/cdrecord/alpha/ \
http://ftp.berlios.de/pub/cdrecord/alpha/
@@ -23,10 +24,6 @@ MAKE_JOBS_SAFE= no
WRKSRC= ${WRKDIR}/cdrtools-2.01.01
USE_TOOLS+= gm4 gmake tbl
-.if ${LOCALBASE} != "/opt/schily"
-BUILDLINK_TRANSFORM+= rmdir:/opt/schily
-.endif
-
# avoid picking up a bad ${ARCH} during the build
MAKE_ENV+= ARCH=""
MAKE_ENV+= MAKEPROG="gmake"
@@ -79,6 +76,12 @@ SUBST_FILES.oss= cdda2wav/local.cnf.in
SUBST_SED.oss= -e "s,/dev/dsp,${DEVOSSSOUND},g"
SUBST_MESSAGE.oss= Fixing OSS sound device path.
+SUBST_CLASSES+= ins_base
+SUBST_STAGE.ins_base= pre-configure
+SUBST_FILES.ins_base= DEFAULTS/Defaults.*
+SUBST_SED.ins_base= -e "/^INS_BASE=/d"
+SUBST_MESSAGE.ins_base= Fixing INS_BASE.
+
do-configure:
cd ${WRKSRC}/RULES; \
for suffix in netbsd-cc.rul netbsd-gcc.rul; do \