Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Aug 2013 10:36:30 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r325385 - head/graphics/freeimage
Message-ID:  <201308261036.r7QAaUqW081870@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308261036.r7QAaUqW081870>