aboutsummaryrefslogtreecommitdiffstats
path: root/www/netsurf
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2011-12-29 23:18:58 +0800
committermiwi <miwi@FreeBSD.org>2011-12-29 23:18:58 +0800
commit8c305a6232819293d0b5ef590eab3d90eae8e8a6 (patch)
tree9e16bed7491af55f69c2826e9c08739ac1096875 /www/netsurf
parentdf1120f2fddf5bb08f5c28debbe4fb407bb80c8d (diff)
downloadfreebsd-ports-gnome-8c305a6232819293d0b5ef590eab3d90eae8e8a6.tar.gz
freebsd-ports-gnome-8c305a6232819293d0b5ef590eab3d90eae8e8a6.tar.zst
freebsd-ports-gnome-8c305a6232819293d0b5ef590eab3d90eae8e8a6.zip
- Respect CC/_MAKE_JOBS
PR: 163094 Submitted by: Jan Beich <jbeich@tormail.net>
Diffstat (limited to 'www/netsurf')
-rw-r--r--www/netsurf/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/www/netsurf/Makefile b/www/netsurf/Makefile
index af9719c940c0..7f2d1ea8243f 100644
--- a/www/netsurf/Makefile
+++ b/www/netsurf/Makefile
@@ -34,7 +34,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GNOME= libglade2 librsvg2 libxml2
USE_GMAKE= yes
MAKE_ENV= PKG_CONFIG_PATH="${WRKDIR}/fakeroot/lib/pkgconfig:${LOCALBASE}/libdata/pkgconfig"
-MAKE_ARGS= CC="${CC}" CCOPT="" TARGET="gtk" HOST="${OPSYS}" \
+MAKE_ARGS= HOST_CC="${CC}" CC="${CC}" CCOPT="" HOST="${OPSYS}" \
WARNFLAGS="${CFLAGS}" Q=""
MAKE_JOBS_SAFE= yes
@@ -50,6 +50,8 @@ post-patch:
's| -O2 | |' ${WRKSRC}/Makefile.defaults
@${REINPLACE_CMD} -e \
's| -g | |' ${WRKSRC}/gtk/Makefile.target
+ @${REINPLACE_CMD} -e '/ifeq.*clang/s/word 1/filter clang/' \
+ ${WRKDIR}/*/build/makefiles/Makefile.tools
do-configure:
@${TOUCH} ${WRKDIR}/${PARSERUTILS_DISTNAME:S/-src//}/Makefile.config.override
@@ -67,8 +69,8 @@ pre-build:
.for dir in ${PARSERUTILS_DISTNAME:S/-src//} ${WAPCAPLET_DISTNAME} \
${HUBBUB_DISTNAME:S/-src//} ${CSS_DISTNAME:S/-src//} \
${NSBMP_DISTNAME} ${NSGIF_DISTNAME}
- @(cd ${WRKDIR}/${dir} && ${SETENV} PREFIX="${WRKDIR}/fakeroot" \
- ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
+ @${MAKE_ENV} ${GMAKE} -C${WRKDIR}/${dir} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} \
+ ${MAKE_ARGS} ${INSTALL_TARGET} PREFIX="${WRKDIR}/fakeroot"
.endfor
do-install: