diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2001-01-08 06:44:24 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2001-01-08 06:44:24 +0000 |
commit | 57da72838b670057cdca83c98070f8134c0b2b3e (patch) | |
tree | 51a3394d8c9381e5cabe5080a3bc0b3c1e42ce01 /textproc/p5-XML-Parser | |
parent | Upgrade to 2.7a. (diff) |
Use $PERL_CONFIGURE.
Notes
Notes:
svn path=/head/; revision=36930
Diffstat (limited to 'textproc/p5-XML-Parser')
-rw-r--r-- | textproc/p5-XML-Parser/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/textproc/p5-XML-Parser/Makefile b/textproc/p5-XML-Parser/Makefile index 8a1061f4bac2..c2c762ff4ce0 100644 --- a/textproc/p5-XML-Parser/Makefile +++ b/textproc/p5-XML-Parser/Makefile @@ -18,15 +18,13 @@ MAINTAINER= kuriyama@FreeBSD.org LIB_DEPENDS= expat.2:${PORTSDIR}/textproc/expat2 -USE_PERL5= yes +PERL_CONFIGURE= yes +CONFIGURE_ARGS= EXPATLIBPATH=${LOCALBASE}/lib EXPATINCPATH=${LOCALBASE}/include MAN3= XML::Parser.3 XML::Parser::Expat.3 MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -do-configure: - @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \ - CC="${CC}" CCFLAGS="${CFLAGS}" \ - EXPATLIBPATH=${LOCALBASE}/lib EXPATINCPATH=${LOCALBASE}/include +post-configure: @${PERL} -i -pe 's/^(CC = ).*/$$1 ${CC}/;' \ -e 's/^(CCFLAGS = ).*/$$1 ${CFLAGS}/' ${WRKSRC}/Expat/Makefile |