diff options
author | Will Andrews <will@FreeBSD.org> | 2000-06-17 02:37:15 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2000-06-17 02:37:15 +0000 |
commit | 1e60866cc19e399726a715fe8f90de75614755d9 (patch) | |
tree | 919603a1bf324ecbe31827d6a9441e11e58f98a0 /textproc/p5-XML-Parser | |
parent | 30563b53998852429b379c5698be8bc307cc56ca (diff) |
Notes
Diffstat (limited to 'textproc/p5-XML-Parser')
-rw-r--r-- | textproc/p5-XML-Parser/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/textproc/p5-XML-Parser/Makefile b/textproc/p5-XML-Parser/Makefile index 5d1a51b7d9cb..83869b6ab610 100644 --- a/textproc/p5-XML-Parser/Makefile +++ b/textproc/p5-XML-Parser/Makefile @@ -10,17 +10,20 @@ PORTVERSION= 2.28 CATEGORIES= textproc perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \ http://wwwx.netheaven.com/~coopercc/xmlparser/ -MASTER_SITE_SUBDIR= ../by-authors/id/C/CO/COOPERCL +MASTER_SITE_SUBDIR= XML PKGNAMEPREFIX= p5- MAINTAINER= kuriyama@FreeBSD.org -USE_PERL5= YES +USE_PERL5= yes MAN3= XML::Parser.3 XML::Parser::Expat.3 MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} do-configure: - @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \ + CC="${CC}" CCFLAGS="${CFLAGS}" + @${PERL} -i -pe 's/^(CC = ).*/$$1 ${CC}/;' \ + -e 's/^(CCFLAGS = ).*/$$1 ${CFLAGS}/' ${WRKSRC}/Expat/Makefile .include <bsd.port.mk> |