diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2004-09-21 17:51:55 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2004-09-21 17:51:55 +0000 |
commit | 67b81fbe2acae1278e55752094ca6bba6e8baeef (patch) | |
tree | 822b8cdddad2c50cb80f26d17dcee4fd28a5eaa7 /textproc/p5-XML-LibXML/Makefile | |
parent | 04a4a7825c20b58f9c772429cad42dae3803a576 (diff) | |
download | ports-67b81fbe2acae1278e55752094ca6bba6e8baeef.tar.gz ports-67b81fbe2acae1278e55752094ca6bba6e8baeef.zip |
Notes
Diffstat (limited to 'textproc/p5-XML-LibXML/Makefile')
-rw-r--r-- | textproc/p5-XML-LibXML/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/textproc/p5-XML-LibXML/Makefile b/textproc/p5-XML-LibXML/Makefile index 2013a3e17f3b..47d5ac99050e 100644 --- a/textproc/p5-XML-LibXML/Makefile +++ b/textproc/p5-XML-LibXML/Makefile @@ -22,7 +22,7 @@ LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes -CONFIGURE_ENV= XMLPREFIX='${PREFIX}' +CONFIGURE_ENV= XMLPREFIX=${LOCALBASE} MAN3= XML::LibXML.3 XML::LibXML::Attr.3 XML::LibXML::Boolean.3 \ XML::LibXML::CDATASection.3 XML::LibXML::Comment.3 \ @@ -35,6 +35,10 @@ MAN3= XML::LibXML.3 XML::LibXML::Attr.3 XML::LibXML::Boolean.3 \ XML::LibXML::SAX::Builder.3 XML::LibXML::SAX::Generator.3 \ XML::LibXML::Text.3 +post-patch: + @${PERL} -pi -e 's,(-MXML::SAX),-I${PREFIX}/${SITE_PERL_REL}/${PERL_ARCH} \1,g' \ + ${WRKSRC}/Makefile.PL + .include <bsd.port.pre.mk> .if ${PERL_LEVEL} < 500600 |