summaryrefslogtreecommitdiffstats
path: root/converters
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-06-09 23:59:28 +0000
committerwill <will@FreeBSD.org>2000-06-09 23:59:28 +0000
commita1b74f6188f4ce1f4c5eb6dad8bac841421042c2 (patch)
tree5a56cf6b99f358b8c38a41dac69ca140fc3eb609 /converters
parente234ee85bdcabec6a81dab290882daa8ce56d6ed (diff)
downloadFreeBSD-ports-a1b74f6188f4ce1f4c5eb6dad8bac841421042c2.zip
FreeBSD-ports-a1b74f6188f4ce1f4c5eb6dad8bac841421042c2.tar.gz
Argh! I screwed up with the last commit, bigtime! Now it respects
CC/CFLAGS without the patch and PKGNAMESUFFIX->PKGNAMEPREFIX. Submitted by: Christian Weisgerber <naddy@mips.inka.de> Pointy hat: will (that's two today!)
Diffstat (limited to 'converters')
-rw-r--r--converters/p5-MIME-Base64/Makefile9
1 files changed, 3 insertions, 6 deletions
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 <bsd.port.mk>
OpenPOWER on IntegriCloud