Allow this port to be compiled with CC set to something containing a
path component. Approved by: netchild
This commit is contained in:
parent
54295b7c07
commit
90be3811df
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=161632
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user