diff options
author | marius <marius@FreeBSD.org> | 2006-05-08 02:52:09 +0800 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2006-05-08 02:52:09 +0800 |
commit | c6b579ea3d93a237839f852c5a4f6a02cd6f340c (patch) | |
tree | 4eeb240423200f06d0f84a464f81e12a3a826cf6 /sysutils/cdrtools | |
parent | 7d6c1206380398b230d9ba528e62571189e9bdda (diff) | |
download | freebsd-ports-gnome-c6b579ea3d93a237839f852c5a4f6a02cd6f340c.tar.gz freebsd-ports-gnome-c6b579ea3d93a237839f852c5a4f6a02cd6f340c.tar.zst freebsd-ports-gnome-c6b579ea3d93a237839f852c5a4f6a02cd6f340c.zip |
Allow this port to be compiled with CC set to something containing a
path component.
Approved by: netchild
Diffstat (limited to 'sysutils/cdrtools')
-rw-r--r-- | sysutils/cdrtools/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/cdrtools/Makefile b/sysutils/cdrtools/Makefile index 5d6cbd18fb90..da5c736319bd 100644 --- a/sysutils/cdrtools/Makefile +++ b/sysutils/cdrtools/Makefile @@ -34,10 +34,8 @@ MKISOFSDOCS= README README.compression README.eltorito README.graft_dirs \ USE_BZIP2= yes USE_GMAKE= yes -MAKE_ENV= CCOM=${CC} LANG=C #CFLAGS+= -DSOURCE_MODIFIED PKGMESSAGE= ${WRKDIR}/pkg-message -CDRTLSTARGET= ${ARCH}-freebsd-${CC} .if defined(WITH_RSCSI) PKGINSTALL= ${PKGDIR}/pkg-install.rscsi @@ -49,6 +47,10 @@ PLIST_SUB= RSCSI="@comment " .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 @@ -81,7 +83,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 |