pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/cdrtools We want no /opt/schily, so patch the...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c7923510a4de
branches:  trunk
changeset: 564490:c7923510a4de
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Sep 05 10:05:19 2009 +0000

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

 sysutils/cdrtools/Makefile |  13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r 9cbd2736c277 -r c7923510a4de sysutils/cdrtools/Makefile
--- a/sysutils/cdrtools/Makefile        Sat Sep 05 09:49:29 2009 +0000
+++ b/sysutils/cdrtools/Makefile        Sat Sep 05 10:05:19 2009 +0000
@@ -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 @@
 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_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                  \



Home | Main Index | Thread Index | Old Index