Fix build.

Submitted by:	Craig Leres
Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2017-09-05 07:02:32 +00:00
parent 0e8a288fc7
commit bb3d132f7e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=449272

View file

@ -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}