diff options
author | marius <marius@FreeBSD.org> | 2006-05-08 02:49:38 +0800 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2006-05-08 02:49:38 +0800 |
commit | 7d6c1206380398b230d9ba528e62571189e9bdda (patch) | |
tree | 2a95c8536db5222d18f50a4becb00ead7dd8697a /sysutils/cdrtools-devel | |
parent | f2c42e86dd185bceb9df919ef47863833cea76b1 (diff) | |
download | freebsd-ports-gnome-7d6c1206380398b230d9ba528e62571189e9bdda.tar.gz freebsd-ports-gnome-7d6c1206380398b230d9ba528e62571189e9bdda.tar.zst freebsd-ports-gnome-7d6c1206380398b230d9ba528e62571189e9bdda.zip |
- Allow this port to be compiled with CC set to something containing a
path component.
- Remove obsolete USE_REINPLACE.
Approved by: netchild
Diffstat (limited to 'sysutils/cdrtools-devel')
-rw-r--r-- | sysutils/cdrtools-devel/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sysutils/cdrtools-devel/Makefile b/sysutils/cdrtools-devel/Makefile index 604d3d0f2e0c..42908080e0d5 100644 --- a/sysutils/cdrtools-devel/Makefile +++ b/sysutils/cdrtools-devel/Makefile @@ -34,12 +34,9 @@ MKISOFSDOCS= README README.compression README.eltorito README.graft_dirs \ NO_LATEST_LINK= yes USE_BZIP2= yes USE_GMAKE= yes -USE_REINPLACE= yes -MAKE_ENV= CCOM=${CC} LANG=C #CFLAGS+= -DSOURCE_MODIFIED WRKSRC= ${WRKDIR}/${DISTNAME:C/a(.+)$//} PKGMESSAGE= ${WRKDIR}/pkg-message -CDRTLSTARGET= ${ARCH}-freebsd-${CC} .if defined(WITH_RSCSI) PKGINSTALL= ${PKGDIR}/pkg-install.rscsi @@ -52,6 +49,10 @@ PKGNAMESUFFIX?= -devel .include <bsd.port.pre.mk> +CCOM!= ${BASENAME} ${CC} +MAKE_ENV= CCOM=${CCOM} LANG=C +CDRTLSTARGET= ${ARCH}-freebsd-${CCOM} + .if ${OSVERSION} >= 501104 && ${OSVERSION} < 502113 IGNORE= The mlockall(2) of your FreeBSD 5.x version causes problems when used by cdrecord. Please update FreeBSD to >= 5.3 in order to use this port .endif @@ -84,7 +85,7 @@ post-extract: @${CP} ${PORTSDIR}/Templates/${i} ${WRKSRC}/conf @${CP} ${PORTSDIR}/Templates/${i} ${WRKSRC}/cdda2wav .endfor -.if ${ARCH} != "i386" || ${CC} != "cc" +.if ${CDRTLSTARGET} != "i386-freebsd-cc" @${LN} -sf ${WRKSRC}/RULES/i386-freebsd-cc.rul \ ${WRKSRC}/RULES/${CDRTLSTARGET}.rul .endif |