svn commit: r484868 - head/graphics/azpainter
Alexey Dokuchaev
danfe at FreeBSD.org
Tue Nov 13 10:20:47 UTC 2018
Author: danfe
Date: Tue Nov 13 10:20:46 2018
New Revision: 484868
URL: https://svnweb.freebsd.org/changeset/ports/484868
Log:
Try to unbreak the build on architectures that still use old GCC as their
system compiler by using contemporary GCC version.
Tested on: powerpc
Modified:
head/graphics/azpainter/Makefile
Modified: head/graphics/azpainter/Makefile
==============================================================================
--- head/graphics/azpainter/Makefile Tue Nov 13 10:14:32 2018 (r484867)
+++ head/graphics/azpainter/Makefile Tue Nov 13 10:20:46 2018 (r484868)
@@ -15,8 +15,6 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libpng.so:graphics/png
-BROKEN_powerpc64= fails to build: mListDef.h: redefinition of typedef 'mList'
-
USES= desktop-file-utils jpeg localbase shared-mime-info tar:xz
USE_XORG= x11 xext xi
GNU_CONFIGURE= yes
@@ -27,6 +25,12 @@ PORTDOCS= AUTHORS ChangeLog NEWS README README_ja manu
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
+.include <bsd.port.pre.mk>
+
+.if ${ARCH:Mpowerpc*} || ${ARCH} == sparc64
+USE_GCC= yes
+.endif
+
post-patch-NLS-off:
@${REINPLACE_CMD} -e 's, install-dist_trdataDATA$$,,' \
${WRKSRC}/data/Makefile.in
@@ -41,4 +45,4 @@ post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${CP} -a ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list