Quote ${CC} and similar variables in MAKE_ARGS.

Reported by:	Dominic Fandrey <kamikaze@bsdforen.de>
This commit is contained in:
Tijl Coosemans 2014-05-20 19:32:39 +00:00
parent 47e5118926
commit f191d6b887
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354670
37 changed files with 41 additions and 41 deletions

View file

@ -15,7 +15,7 @@ WRKSRC= ${WRKDIR}/src
PLIST_FILES= bin/upackddir \
man/man1/upackddir.1.gz
MAKE_ARGS= CC=${CC}
MAKE_ARGS= CC="${CC}"
post-patch:
${REINPLACE_CMD} -e 's|$$(DESTDIR)/usr|$$(DESTDIR)${PREFIX}|' ${WRKSRC}/Makefile

View file

@ -14,7 +14,7 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= gmake
MAKE_ARGS= CXX="${CXX}" CC=${CC} CPP=${CPP} \
MAKE_ARGS= CXX="${CXX}" CC="${CC}" CPP="${CPP}" \
CXXFLAGS="${CXXFLAGS} -fPIC -I${LOCALBASE}/include"
ALL_TARGET= targets

View file

@ -20,8 +20,8 @@ LIB_DEPENDS= libfftw.so:${PORTSDIR}/math/fftw
ALL_TARGET= gramofile
USES= gmake perl5
USE_CSTD= gnu89
MAKE_ARGS+= CC=${CC}
MAKE_ARGS+= CXX=${CXX}
MAKE_ARGS+= CC="${CC}"
MAKE_ARGS+= CXX="${CXX}"
PERLCOREDIR= ${LOCALBASE}/lib/perl5/${PERL_VER}/mach/CORE
MAKE_ARGS+= PERLCOREDIR=${PERLCOREDIR}

View file

@ -22,7 +22,7 @@ RUN_DEPENDS= id3v2:${PORTSDIR}/audio/id3v2
USE_BZIP2= yes
USES= gmake
USE_RUBY= yes
MAKE_ARGS= CC=${CC}
MAKE_ARGS= CC="${CC}"
OPTIONS_DEFINE= DOCS

View file

@ -14,7 +14,7 @@ MAINTAINER= sacchi@gmail.com
COMMENT= System performance measurement tool
ALL_TARGET= build
MAKE_ARGS= CC='${CC}'
MAKE_ARGS= CC="${CC}"
MAKE_ENV= PATH=${PATH}:${WRKSRC}/scripts
USES= shebangfix perl5 gmake
USE_PERL5= run

View file

@ -13,7 +13,7 @@ COMMENT= Primer3 helps to choose primers for PCR reactions
LICENSE= GPLv2
USES= gmake
MAKE_ARGS= CC=${CC} CPP=${CXX}
MAKE_ARGS= CC="${CC}" CPP="${CXX}"
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
PLIST_FILES= bin/primer3

View file

@ -17,7 +17,7 @@ LICENSE_COMB= dual
OPTIONS_DEFINE= DOCS
MAKE_ENV= CFLAG="${CPPFLAGS}" LIBS="${LDFLAGS}"
MAKE_ARGS= CC=${CC}
MAKE_ARGS= CC="${CC}"
MAKE_JOBS_UNSAFE= yes
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}

View file

@ -16,7 +16,7 @@ LICENSE_COMB= dual
LIB_DEPENDS= libleveldb.so:${PORTSDIR}/databases/leveldb
MAKE_ARGS= CC=${CXX}
MAKE_ARGS= CC="${CXX}"
USE_PERL5= configure
USES= gmake perl5

View file

@ -12,7 +12,7 @@ USES= gmake
USE_ANT= yes
USE_JAVA= yes
USE_XORG= x11 xt
MAKE_ARGS= -DCC=${CC} -DLD=${LD}
MAKE_ARGS= -DCC="${CC}" -DLD="${LD}"
MAKE_ENV+= ANT_OPTS=-Drelease -DARCH=${ANT_ARCH}
USE_GITHUB= yes

View file

@ -18,7 +18,7 @@ PORTDOCS= *
USES= gmake
MAKEFILE= makefile
REINPLACE_ARGS= -i ""
MAKE_ARGS= GMAKE=${MAKE_CMD} CC=${CC:T} OPT="${CFLAGS}"
MAKE_ARGS= GMAKE="${MAKE_CMD}" CC="${CC}" OPT="${CFLAGS}"
INSTALL_TARGET= localinstall
MAKE_JOBS_UNSAFE= yes

View file

@ -32,7 +32,7 @@ UI_DESC= User interface
XTERM_SAVE_DESC= Restore xterm screen after exit
ALL_TARGET= # empty
MAKE_ARGS+= CC=${CC} CONF_ARGS="--prefix=${PREFIX} ${CSCOPE_ARG}" STRIP=${STRIP_CMD} CONF_OPT_MULTIBYTE=--enable-multibyte CONF_TERM_LIB=--with-tlib=termlib
MAKE_ARGS+= CC="${CC}" CONF_ARGS="--prefix=${PREFIX} ${CSCOPE_ARG}" STRIP="${STRIP_CMD}" CONF_OPT_MULTIBYTE=--enable-multibyte CONF_TERM_LIB=--with-tlib=termlib
PATCH= ${LOCALBASE}/bin/gpatch
PATCH_DIST_ARGS=--batch --directory ${WRKSRC} --forward --quiet --remove-empty-files ${PATCH_DIST_STRIP}
REINPLACE_ARGS= -i ''

View file

@ -14,7 +14,7 @@ COMMENT= ADAMEm is a portable Coleco ADAM and ColecoVision emulator
NO_WRKSUBDIR= yes
USE_XORG= sm x11 xau xext xfixes xi xrandr
MAKE_ARGS= CC=${CC} LD=${CC}
MAKE_ARGS= CC="${CC}" LD="${CC}"
ALL_TARGET= x
OPTIONS_DEFINE= DOCS

View file

@ -14,7 +14,7 @@ COMMENT= ftp proxy
USES= gmake
MAKE_JOBS_UNSAFE= yes
MAKE_ARGS= CC=${CC}
MAKE_ARGS= CC="${CC}"
PLIST_FILES= sbin/ftp.proxy \
man/man1/ftp.proxy.1.gz

View file

@ -17,7 +17,7 @@ USES= tar:bzip2 gmake openal:al,alut
USE_SDL= sdl
USE_GL= yes
MAKE_ARGS= CC=${CC} CXX=${CXX}
MAKE_ARGS= CC="${CC}" CXX="${CXX}"
WRKSRC= ${WRKDIR}/${PORTNAME}

View file

@ -11,7 +11,7 @@ MAINTAINER= danfe@FreeBSD.org
COMMENT= MVD demo data streaming proxy over TCP/IP for QuakeWorld servers
ALL_TARGET= ${PORTNAME}
MAKE_ARGS= CC=${CC}
MAKE_ARGS= CC="${CC}"
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
do-install:

View file

@ -17,7 +17,7 @@ HAS_CONFIGURE= yes
WRKSRC= ${WRKDIR}
MAKEFILE= makefile
USES= gmake
MAKE_ARGS= CC=${CC}
MAKE_ARGS= CC="${CC}"
CFLAGS+= -I${LOCALBASE}/include
PLIST_FILES= include/alpng.h \

View file

@ -15,7 +15,7 @@ USES= gmake dos2unix zip
DOS2UNIX_FILES= Source/LibOpenJPEG/opj_malloc.h
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/FreeImage
MAKE_ARGS= CC=${CC} CPP=${CPP} CXX=${CXX}
MAKE_ARGS= CC="${CC}" CPP="${CPP}" CXX="${CXX}"
CFLAGS+= -fexceptions -fvisibility=hidden

View file

@ -13,7 +13,7 @@ MAINTAINER= fernando.apesteguia@gmail.com
COMMENT= Tools to accurately transfer 3-D geometry between applications
USES= iconv:build dos2unix gmake zip
MAKE_ARGS= CC=${CC} CCC=${CXX}
MAKE_ARGS= CC="${CC}" CCC="${CXX}"
MAKEFILE= makefile
EXAMPLESDIR= ${STAGEDIR}${PREFIX}/libexec/openNURBS

View file

@ -25,7 +25,7 @@ USE_GHOSTSCRIPT_RUN= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_path_pts_bash="${SH}"
CONFIGURE_ARGS= --enable-gif
MAKE_ARGS= CXXX="${CXX}" LDALL="${CXX}" CXXFLAGSB="${CXXFLAGS}" CC=${CC} CXX=${CXX}
MAKE_ARGS= CXXX="${CXX}" LDALL="${CXX}" CXXFLAGSB="${CXXFLAGS}" CC="${CC}" CXX="${CXX}"
ALL_TARGET= ${PORTNAME}
PORTDOCS= *

View file

@ -22,7 +22,7 @@ USE_EFL= imlib2
USE_GL= glut
WRKSRC= ${WRKDIR}/sviewgl-src
CFLAGS+= -I${LOCALBASE}/include/libpng15
MAKE_ARGS= CC=${CXX}
MAKE_ARGS= CC="${CXX}"
PLIST_FILES= bin/sviewgl

View file

@ -57,7 +57,7 @@ CC= clang
CXX= clang++
CONFIGURE_ARGS+= --disable-valgrind --disable-docs \
--enable-clang --mandir=${MANPREFIX}/man
MAKE_ARGS+= CC=${CC} CXX=${CXX} ARCH=x86_64
MAKE_ARGS+= CC="${CC}" CXX="${CXX}" ARCH=x86_64
post-extract:
${MKDIR} ${WRKSRC}/${RUST_TARGET} && \

View file

@ -12,7 +12,7 @@ COMMENT= Requantize MPEG-2 streams without recompressing
PATCH_STRIP= -p1
CFLAGS+= -Duint=unsigned
MAKE_ARGS+= CC=${CC} CXX=${CXX}
MAKE_ARGS+= CC="${CC}" CXX="${CXX}"
PLIST_FILES+= bin/M2VRequantiser
post-patch:

View file

@ -16,8 +16,8 @@ USES= gmake tar:bzip2
PATCH_STRIP= -p1
USE_CSTD= gnu89
MAKE_ARGS= INCLUDE=-I"${LOCALBASE}/include"
MAKE_ARGS+= CC=${CC}
MAKE_ARGS+= CXX=${CXX}
MAKE_ARGS+= CC="${CC}"
MAKE_ARGS+= CXX="${CXX}"
WRKSRC= ${WRKDIR}/szap-s2-e34f73b254db
PORTDOCS= README
PLIST_FILES= bin/szap-s2

View file

@ -29,8 +29,8 @@ DIST_SUBDIR= vdr
PORTDOCS= COPYING INSTALL MANUAL README HISTORY
CONFDIR= $(ETCDIR)
USE_CSTD= gnu89
MAKE_ARGS+= CC=${CC}
MAKE_ARGS+= CXX=${CXX}
MAKE_ARGS+= CC="${CC}"
MAKE_ARGS+= CXX="${CXX}"
MAKE_ARGS+= VDR_USER=${VDR_USER}
MAKE_ARGS+= CONFDIR=$(CONFDIR)
MAKE_ARGS+= OSTYPE=FreeBSD

View file

@ -14,8 +14,8 @@ USES+= gettext gmake
VDRDIR= ${LOCALBASE}/include/vdr
VDRINCDIR= ${LOCALBASE}/include
USE_CSTD?= gnu89
MAKE_ARGS+= CC=${CC}
MAKE_ARGS+= CXX=${CXX}
MAKE_ARGS+= CC="${CC}"
MAKE_ARGS+= CXX="${CXX}"
MAKE_ARGS+= DVBDIR=${LOCALBASE}/include
MAKE_ARGS+= VDRDIR=${VDRDIR}
MAKE_ARGS+= VDR_USER=${VDR_USER}

View file

@ -21,7 +21,7 @@ WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}
USES= gmake pkgconfig tar:bzip2
USE_TEX= latex
USE_GNOME= gtk20
MAKE_ARGS= CC=${CC}
MAKE_ARGS= CC="${CC}"
PLIST_FILES= lib/pidgin/LaTeX.so

View file

@ -13,7 +13,7 @@ COMMENT= Expect-like tool for pure shell
DOCS= CHANGELOG COPYRIGHT README README.CYGWIN
EXAMPLES= README em_ssh.sh em_ssh_2.sh em_sh.sh \
em_telnet.sh em_telnet_2.sh emsu.sh runtests.sh
MAKE_ARGS+= CC=${CC}
MAKE_ARGS+= CC="${CC}"
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/COPYRIGHT

View file

@ -27,7 +27,7 @@ OPTIONS_DEFAULT=PCRE DPCRE
.include <bsd.port.options.mk>
MAKE_ARGS= TARGET=freebsd DEFINE=-DFREEBSD_PORTS CC=${CC}
MAKE_ARGS= TARGET=freebsd DEFINE=-DFREEBSD_PORTS CC="${CC}"
.if ${PORT_OPTIONS:MDPCRE}
LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre

View file

@ -23,7 +23,7 @@ CONFIGURE_ARGS= --with-binpathbase=${PREFIX}/sbin \
--with-libpath=${PREFIX}/lib
MAKE_ENV= DATADIR=${DATADIR} EXAMPLESDIR=${EXAMPLESDIR}
MAKE_ARGS+= CC=${CC}
MAKE_ARGS+= CC="${CC}"
CFLAGS+= -DLDAP_DEPRECATED
post-patch:

View file

@ -13,7 +13,7 @@ COMMENT= Newer filter that converts RTF (MS Rich Text Format) into LaTeX
LICENSE= GPLv2
USES= gmake
MAKE_ARGS= CC=${CC} \
MAKE_ARGS= CC="${CC}" \
mandir=${MAN1PREFIX}/man/
.include <bsd.port.mk>

View file

@ -27,7 +27,7 @@ CPPFLAGS+= -I${LOCALBASE}/include
LD_LIBRARY_PATH= -L${LOCALBASE}/lib -L/usr/lib
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= LD_LIBRARY_PATH="${LD_LIBRARY_PATH}"
MAKE_ARGS+= CC=${CC} CXX=${CXX}
MAKE_ARGS+= CC="${CC}" CXX="${CXX}"
OPTIONS_DEFINE= OPENMPI
OPTIONS_DEFAULT= OPENMPI

View file

@ -10,7 +10,7 @@ MAINTAINER= crees@FreeBSD.org
COMMENT= A cryptographic file system implemented as a user-space NFS server
ALL_TARGET= cfs
MAKE_ARGS= CC=cc
MAKE_ARGS= CC="${CC}"
CFSD_BOOTSTRAP= ${PREFIX}/cfsd-bootstrap
USE_RC_SUBR= cfsd

View file

@ -17,7 +17,7 @@ GH_ACCOUNT= technion
GH_TAGNAME= ${GH_COMMIT}
GH_COMMIT= 457ff86
MAKE_ARGS+= CC=${CC} LIBDIR=${PREFIX}/lib
MAKE_ARGS+= CC="${CC}" LIBDIR=${PREFIX}/lib
PLIST_FILES= include/libscrypt.h \
lib/libscrypt.so \

View file

@ -13,7 +13,7 @@ LICENSE= GPLv3
USES= gmake
CFLAGS+= -Wno-format
MAKE_ARGS= SYS=freebsd CC=${CC} CFLAGS="${CFLAGS}"
MAKE_ARGS= SYS=freebsd CC="${CC}" CFLAGS="${CFLAGS}"
PLIST_FILES= bin/masscan man/man8/masscan.8.gz

View file

@ -13,6 +13,6 @@ COMMENT= Perl binding to modified RSA (yamrsa)
USES= perl5
USE_PERL5= configure
MAKE_ARGS= CC=${CXX}
MAKE_ARGS= CC="${CXX}"
.include <bsd.port.mk>

View file

@ -11,7 +11,7 @@ COMMENT= Template library used to deal with html code in CGI applications
PLIST_FILES= lib/${PORTNAME}.a bin/checktpl
MAKE_ARGS+= CC=${CC}
MAKE_ARGS+= CC="${CC}"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/checktpl ${STAGEDIR}${PREFIX}/bin

View file

@ -13,6 +13,6 @@ COMMENT= XS extension for processing HTTP headers
USES= perl5
USE_PERL5= configure
MAKE_ARGS+= CC=${CXX} LD=${CXX}
MAKE_ARGS= CC="${CXX}" LD="${CXX}"
.include <bsd.port.mk>