svn commit: r519564 - head/textproc/xerces-c3

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Dec 8 17:32:22 UTC 2019


Author: sunpoet
Date: Sun Dec  8 17:32:21 2019
New Revision: 519564
URL: https://svnweb.freebsd.org/changeset/ports/519564

Log:
  Fix build on powerpc with clang
  
  PR:		242135
  Submitted by:	pkubaj

Modified:
  head/textproc/xerces-c3/Makefile

Modified: head/textproc/xerces-c3/Makefile
==============================================================================
--- head/textproc/xerces-c3/Makefile	Sun Dec  8 17:32:16 2019	(r519563)
+++ head/textproc/xerces-c3/Makefile	Sun Dec  8 17:32:21 2019	(r519564)
@@ -13,7 +13,7 @@ COMMENT=	Validating XML parser from the Apache XML Pro
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cpe iconv libtool pathfix
+USES=		compiler cpe iconv libtool pathfix
 
 CONFIGURE_ARGS=	--enable-netaccessor-socket \
 		--enable-transcoder-iconv \
@@ -31,7 +31,7 @@ CPE_VENDOR=	apache
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH:Mpowerpc*}
+.if ${CHOSEN_COMPILER_TYPE} == gcc
 PLIST_SUB+=	MUTEXMGR="PosixMutexMgr"
 .else
 PLIST_SUB+=	MUTEXMGR="StdMutexMgr"


More information about the svn-ports-head mailing list