summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2014-01-25 07:46:02 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2014-01-25 07:46:02 +0000
commit3902ff79b41e425d595e20c74aeef82901154b97 (patch)
treee6858e887d07d81735e6444f43fe31aaab58bc35
parent- convert to auto-generated packing list (diff)
Fix the build on sparc64.
-rw-r--r--devel/pcl/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/pcl/Makefile b/devel/pcl/Makefile
index 2d23279fc441..8746824804de 100644
--- a/devel/pcl/Makefile
+++ b/devel/pcl/Makefile
@@ -15,6 +15,8 @@ USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/lib${PORTNAME}-${PORTVERSION}
-BROKEN_sparc64= Does not compile on sparc64
+post-patch: # required at least on sparc64
+ @${REINPLACE_CMD} -e '/<ucontext/ { x ; \
+ s,.*,#include <inttypes.h>, ; G ; }' ${WRKSRC}/pcl/pcl.c
.include <bsd.port.mk>