aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2017-09-05 15:02:32 +0800
committermat <mat@FreeBSD.org>2017-09-05 15:02:32 +0800
commita8acbd54f1499714aa3c222229ba86c15cd76715 (patch)
tree505df664e47230733cdcf6153e22d5e008fc6f6e /textproc
parente85f678cc138afb815a6dad7817ec76649509b07 (diff)
downloadfreebsd-ports-gnome-a8acbd54f1499714aa3c222229ba86c15cd76715.tar.gz
freebsd-ports-gnome-a8acbd54f1499714aa3c222229ba86c15cd76715.tar.zst
freebsd-ports-gnome-a8acbd54f1499714aa3c222229ba86c15cd76715.zip
Fix build.
Submitted by: Craig Leres Sponsored by: Absolight
Diffstat (limited to 'textproc')
-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}