svn commit: r325385 - head/graphics/freeimage
Baptiste Daroussin
bapt at FreeBSD.org
Mon Aug 26 10:36:30 UTC 2013
Author: bapt
Date: Mon Aug 26 10:36:29 2013
New Revision: 325385
URL: http://svnweb.freebsd.org/changeset/ports/325385
Log:
Fix build without gcc by making sure gmake is invoked with the proper make environnement during
post-build and post-install
Modified:
head/graphics/freeimage/Makefile
Modified: head/graphics/freeimage/Makefile
==============================================================================
--- head/graphics/freeimage/Makefile Mon Aug 26 10:33:05 2013 (r325384)
+++ head/graphics/freeimage/Makefile Mon Aug 26 10:36:29 2013 (r325385)
@@ -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
More information about the svn-ports-head
mailing list