From a1b74f6188f4ce1f4c5eb6dad8bac841421042c2 Mon Sep 17 00:00:00 2001 From: will 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') diff --git a/converters/p5-MIME-Base64/Makefile b/converters/p5-MIME-Base64/Makefile index 2bbb5e4..5b88967 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.1