diff options
author | foxfair <foxfair@FreeBSD.org> | 2003-09-07 12:42:35 +0800 |
---|---|---|
committer | foxfair <foxfair@FreeBSD.org> | 2003-09-07 12:42:35 +0800 |
commit | 63fd8e197e59d45f7dbb551f51ee919ea556c488 (patch) | |
tree | 9b026626be8c3229d968651966867a818394a4ce | |
parent | f81e9ae220e6bb301fd94aeaa8138f08ec75c063 (diff) | |
download | freebsd-ports-gnome-63fd8e197e59d45f7dbb551f51ee919ea556c488.tar.gz freebsd-ports-gnome-63fd8e197e59d45f7dbb551f51ee919ea556c488.tar.zst freebsd-ports-gnome-63fd8e197e59d45f7dbb551f51ee919ea556c488.zip |
PR: 56531
Submitted by: Hansjoerg Pehofer <hansjoerg.pehofer@uibk.ac.at>
Reviewed by:
Approved by:
Obtained from:
MFC after:
changed dependency from p5-XML-SAX-Base to p5-XML-SAX.
let port remove "use warnings;" to allow perl < 5.6.0.
Minor change with using SITE_PERL.
-rw-r--r-- | textproc/p5-XML-Filter-GenericChunk/Makefile | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/textproc/p5-XML-Filter-GenericChunk/Makefile b/textproc/p5-XML-Filter-GenericChunk/Makefile index db6da50b8977..1c4f7c7f67d3 100644 --- a/textproc/p5-XML-Filter-GenericChunk/Makefile +++ b/textproc/p5-XML-Filter-GenericChunk/Makefile @@ -7,31 +7,30 @@ PORTNAME= XML-Filter-GenericChunk PORTVERSION= 0.06 +PORTREVISION= 1 CATEGORIES= textproc perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} -#MASTER_SITE_SUBDIR= XML MASTER_SITE_SUBDIR= ../by-authors/id/P/PH/PHISH PKGNAMEPREFIX= p5- MAINTAINER= hansjoerg.pehofer@uibk.ac.at COMMENT= "Base Class for SAX Filters parsing WellBallanced Chunks." -BUILD_DEPENDS= ${PERL_ABASE}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML \ - ${SITE_PERL}/XML/SAX/Base.pm:${PORTSDIR}/textproc/p5-XML-SAX-Base +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML \ + ${SITE_PERL}/XML/SAX.pm:${PORTSDIR}/textproc/p5-XML-SAX RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes -PERL_ABASE= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH} MAN3= XML::Filter::CharacterChunk.3 \ XML::Filter::GenericChunk.3 MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -.include <bsd.port.pre.mk> +post-patch: + ${PERL} -pi -e '$$_="" if /use warnings/;' \ + ${WRKSRC}/t/02filter.t \ + ${WRKSRC}/CharacterChunk.pm \ + ${WRKSRC}/GenericChunk.pm -.if ${PERL_LEVEL} < 500600 -IGNORE= Port requires perl 5.6.x or later. Install lang/perl5 then try again -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |