aboutsummaryrefslogtreecommitdiff
path: root/graphics/freeimage
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-08-26 10:36:29 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-08-26 10:36:29 +0000
commitfdfa66bdb5d068453596e97318de58ed61999b54 (patch)
tree54e90adf94ce8c85e08abdaf69fb15ac95d69f5e /graphics/freeimage
parent1bfb22a4192318e70339214b713770161c929c09 (diff)
downloadports-fdfa66bdb5d068453596e97318de58ed61999b54.tar.gz
ports-fdfa66bdb5d068453596e97318de58ed61999b54.zip
Fix build without gcc by making sure gmake is invoked with the proper make environnement during
post-build and post-install
Notes
Notes: svn path=/head/; revision=325385
Diffstat (limited to 'graphics/freeimage')
-rw-r--r--graphics/freeimage/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/freeimage/Makefile b/graphics/freeimage/Makefile
index a894a84d3bef..2c6edacc6ffc 100644
--- a/graphics/freeimage/Makefile
+++ b/graphics/freeimage/Makefile
@@ -42,10 +42,10 @@ post-patch:
${WRKSRC}/Makefile.gnu ${WRKSRC}/Makefile.fip
post-build:
- cd ${WRKSRC} && ${GMAKE} -f Makefile.fip
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} -f Makefile.fip ${_MAKE_JOBS} ${MAKE_ARGS}
post-install:
- cd ${WRKSRC} && ${GMAKE} -f Makefile.fip ${INSTALL_TARGET}
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} -f Makefile.fip ${MAKE_ARGS} ${INSTALL_TARGET}
${LN} -s libfreeimageplus-${PORTVERSION}.so.3 ${PREFIX}/lib/libfreeimageplus.so
${LN} -s libfreeimageplus-${PORTVERSION}.so ${PREFIX}/lib/libfreeimageplus.so.3