Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Nov 2018 10:20:46 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r484868 - head/graphics/azpainter
Message-ID:  <201811131020.wADAKkDd074298@repo.freebsd.org>

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



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