summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2017-09-05 07:02:32 +0000
committerMathieu Arnold <mat@FreeBSD.org>2017-09-05 07:02:32 +0000
commitbb3d132f7e35cf4af34de11ef8a1bf05d7e257b4 (patch)
tree505df664e47230733cdcf6153e22d5e008fc6f6e
parentgraphics/colmap: try#2 to unbreak on non-x86 (diff)
Fix build.
Submitted by: Craig Leres Sponsored by: Absolight
-rw-r--r--textproc/xerces-c3/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/textproc/xerces-c3/Makefile b/textproc/xerces-c3/Makefile
index 9f56e1c122ed..d95b8eff5cf5 100644
--- a/textproc/xerces-c3/Makefile
+++ b/textproc/xerces-c3/Makefile
@@ -28,6 +28,9 @@ PLIST_SUB= MAJOR_VER=${PORTVERSION:R}
CPE_PRODUCT= xerces-c++
CPE_VENDOR= apache
+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}