From aa4efabd791f05ccdabf59086afbe34ee4fcfce7 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Sun, 25 Jan 2004 15:21:38 +0000 Subject: [PATCH] requires perl > 5.6.0 Noticed by: bento via kris --- textproc/p5-XML-Xerces/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 + +.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 +.include