aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-XML-Xerces
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2004-01-25 23:21:38 +0800
committerijliao <ijliao@FreeBSD.org>2004-01-25 23:21:38 +0800
commita0fa29a93292c6af9383683c06c2ed6155f8818f (patch)
treeb231b3b651949e5cb6ba40708e57af7152d9cc7a /textproc/p5-XML-Xerces
parent5bbffc8d836c8d67487fc38d23885d33338e0c81 (diff)
downloadfreebsd-ports-graphics-a0fa29a93292c6af9383683c06c2ed6155f8818f.tar.gz
freebsd-ports-graphics-a0fa29a93292c6af9383683c06c2ed6155f8818f.tar.zst
freebsd-ports-graphics-a0fa29a93292c6af9383683c06c2ed6155f8818f.zip
requires perl > 5.6.0
Noticed by: bento via kris
Diffstat (limited to 'textproc/p5-XML-Xerces')
-rw-r--r--textproc/p5-XML-Xerces/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/textproc/p5-XML-Xerces/Makefile b/textproc/p5-XML-Xerces/Makefile
index 8924913b615..2430dffe8bb 100644
--- a/textproc/p5-XML-Xerces/Makefile
+++ b/textproc/p5-XML-Xerces/Makefile
@@ -24,7 +24,13 @@ CONFIGURE_ENV= XERCES_INCLUDE=${LOCALBASE}/include \
XERCES_LIB=${LOCALBASE}/lib
USE_GMAKE= yes
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= "requires perl 5.6.x or later. Install lang/perl5 and try again"
+.endif
+
post-patch:
@${PERL} -pi -e "s|-lpthread|${PTHREAD_LIBS}|" ${WRKSRC}/Makefile.PL
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>