1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

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

This commit is contained in:
Antoine Brodin 2014-06-17 17:45:14 +00:00
parent a2e4b44cdb
commit c18e3316de
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358154

View File

@ -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