Index: Makefile =================================================================== --- Makefile (revision 483811) +++ Makefile (working copy) @@ -29,6 +29,16 @@ CPE_PRODUCT= xerces-c++ CPE_VENDOR= apache +.include <bsd.port.pre.mk> + +.if ${ARCH} == powerpc64 +PLIST_SUB+= POWERPC64="" \ + NOT_POWERPC64="@comment " +.else +PLIST_SUB+= POWERPC64="@comment " \ + NOT_POWERPC64="" +.endif + post-patch: @${REINPLACE_CMD} -e "s,@DEFS@,& -D__STDC_LIMIT_MACROS," ${WRKSRC}/src/Makefile.in @@ -35,4 +45,4 @@ 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> Index: pkg-plist =================================================================== --- pkg-plist (revision 483811) +++ pkg-plist (working copy) @@ -264,7 +264,8 @@ 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 +%%POWERPC64%%include/xercesc/util/MutexManagers/PosixMutexMgr.hpp +%%NOT_POWERPC64%%include/xercesc/util/MutexManagers/StdMutexMgr.hpp include/xercesc/util/Mutexes.hpp include/xercesc/util/NameIdPool.c include/xercesc/util/NameIdPool.hpp