Date: Sun, 4 Nov 2018 18:58:27 +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: r484139 - head/textproc/xerces-c3 Message-ID: <201811041858.wA4IwRv9096361@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun Nov 4 18:58:27 2018 New Revision: 484139 URL: https://svnweb.freebsd.org/changeset/ports/484139 Log: Fix PLIST on powerpc* PR: 232909 (based on) Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> Modified: head/textproc/xerces-c3/Makefile head/textproc/xerces-c3/pkg-plist Modified: head/textproc/xerces-c3/Makefile ============================================================================== --- head/textproc/xerces-c3/Makefile Sun Nov 4 18:58:18 2018 (r484138) +++ head/textproc/xerces-c3/Makefile Sun Nov 4 18:58:27 2018 (r484139) @@ -13,7 +13,7 @@ COMMENT= Validating XML parser from the Apache XML Pro LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cpe gmake iconv libtool pathfix +USES= cpe iconv libtool pathfix CONFIGURE_ARGS= --enable-netaccessor-socket \ --enable-transcoder-iconv \ @@ -29,10 +29,18 @@ PLIST_SUB= MAJOR_VER=${PORTVERSION:R} CPE_PRODUCT= xerces-c++ CPE_VENDOR= apache +.include <bsd.port.pre.mk> + +.if ${ARCH:Mpowerpc*} +PLIST_SUB+= MUTEXMGR="PosixMutexMgr" +.else +PLIST_SUB+= MUTEXMGR="StdMutexMgr" +.endif + post-patch: @${REINPLACE_CMD} -e "s,@DEFS@,& -D__STDC_LIMIT_MACROS," ${WRKSRC}/src/Makefile.in post-install: ${LN} -s libxerces-c-${PORTVERSION:R}.so ${STAGEDIR}${PREFIX}/lib/libxerces-c.so.${PORTVERSION:R:R} -.include <bsd.port.mk> +.include <bsd.port.post.mk> Modified: head/textproc/xerces-c3/pkg-plist ============================================================================== --- head/textproc/xerces-c3/pkg-plist Sun Nov 4 18:58:18 2018 (r484138) +++ head/textproc/xerces-c3/pkg-plist Sun Nov 4 18:58:27 2018 (r484139) @@ -264,7 +264,7 @@ include/xercesc/util/KeyValuePair.hpp include/xercesc/util/LogicalPath.c include/xercesc/util/MsgLoaders/InMemory/InMemMsgLoader.hpp include/xercesc/util/MsgLoaders/InMemory/XercesMessages_en_US.hpp -include/xercesc/util/MutexManagers/StdMutexMgr.hpp +include/xercesc/util/MutexManagers/%%MUTEXMGR%%.hpp include/xercesc/util/Mutexes.hpp include/xercesc/util/NameIdPool.c include/xercesc/util/NameIdPool.hpp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811041858.wA4IwRv9096361>