Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 2019 17:32:21 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r519564 - head/textproc/xerces-c3
Message-ID:  <201912081732.xB8HWLXp012960@repo.freebsd.org>

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



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