svn commit: r358154 - head/graphics/freeimage

Antoine Brodin antoine at FreeBSD.org
Tue Jun 17 17:45:14 UTC 2014


Author: antoine
Date: Tue Jun 17 17:45:14 2014
New Revision: 358154
URL: http://svnweb.freebsd.org/changeset/ports/358154
QAT: https://qat.redports.org/buildarchive/r358154/

Log:
  Unbreak on 8amd64 and 9amd64, gcc from base fails to compile it

Modified:
  head/graphics/freeimage/Makefile

Modified: head/graphics/freeimage/Makefile
==============================================================================
--- head/graphics/freeimage/Makefile	Tue Jun 17 17:31:36 2014	(r358153)
+++ head/graphics/freeimage/Makefile	Tue Jun 17 17:45:14 2014	(r358154)
@@ -30,6 +30,12 @@ PLIST_FILES=	include/FreeImage.h \
 		lib/libfreeimageplus.so.3 \
 		lib/libfreeimageplus.so
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == amd64
+USES+=		compiler:c++0x
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr|${PREFIX}| ; s|-o root -g root ||' \
 		${WRKSRC}/Makefile.gnu ${WRKSRC}/Makefile.fip


More information about the svn-ports-head mailing list