From 8948f0d23d267e65b064cb1fd316aa2405a5dcbb Mon Sep 17 00:00:00 2001 From: Will Andrews Date: Fri, 9 Jun 2000 23:59:28 +0000 Subject: Argh! I screwed up with the last commit, bigtime! Now it respects CC/CFLAGS without the patch and PKGNAMESUFFIX->PKGNAMEPREFIX. Submitted by: Christian Weisgerber Pointy hat: will (that's two today!) --- converters/p5-MIME-Base64/Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'converters/p5-MIME-Base64') diff --git a/converters/p5-MIME-Base64/Makefile b/converters/p5-MIME-Base64/Makefile index 2bbb5e4eddf5..5b889678f07f 100644 --- a/converters/p5-MIME-Base64/Makefile +++ b/converters/p5-MIME-Base64/Makefile @@ -10,7 +10,7 @@ PORTVERSION= 2.11 CATEGORIES= converters perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= MIME -PKGNAMESUFFIX= p5- +PKGNAMEPREFIX= p5- MAINTAINER= ports@FreeBSD.org @@ -20,11 +20,8 @@ MAN3= MIME::Base64.3 \ MIME::QuotedPrint.3 MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -pre-build: - @${PERL} -pi -e "s:-O -pipe:${CFLAGS}:g" ${WRKSRC}/Makefile.PL - @${PERL} -pi -e "s:cc:${CC}:g" ${WRKSRC}/Makefile.PL - do-configure: - @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \ + CC="${CC}" CCFLAGS="${CFLAGS}" .include -- cgit v1.2.3