summaryrefslogtreecommitdiff
path: root/textproc/p5-XML-Xerces
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-01-25 15:21:38 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-01-25 15:21:38 +0000
commitaa4efabd791f05ccdabf59086afbe34ee4fcfce7 (patch)
tree73c88f619346e4f49d7fad7038f2d88500f56594 /textproc/p5-XML-Xerces
parentadd missing dependency to X (diff)
requires perl > 5.6.0
Noticed by: bento via kris
Notes
Notes: svn path=/head/; revision=99081
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 8924913b6158..2430dffe8bbc 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>