ports/62934: MIME::Base64 is not required for Perl 5.8 users to build/run p5-Digest
Sunpoet Po-Chuan Hsieh
sunpoet at sunpoet.net
Mon Feb 16 22:30:15 UTC 2004
>Number: 62934
>Category: ports
>Synopsis: MIME::Base64 is not required for Perl 5.8 users to build/run p5-Digest
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Feb 16 14:30:15 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Sunpoet Po-Chuan Hsieh
>Release: FreeBSD 5.2-CURRENT i386
>Organization:
SUNPOET.net
>Environment:
System: FreeBSD IRIS.sunpoet.net 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Sun Dec 21 18:12:22 CST 2003 root@:/usr/obj/usr/src/sys/sunpoet i386
>Description:
Perl 5.8 comes with MIME::Base64 already. ports/converters/p5-MIME-Base64
should be removed from build/run depends list of ports/security/p5-Digest
for perl 5.8 users.
>How-To-Repeat:
% cd /usr/ports/security/p5-Digest
% make build-depends-list
/usr/ports/converters/p5-MIME-Base64
/usr/ports/lang/perl5.8
% make run-depends-list
/usr/ports/converters/p5-MIME-Base64
/usr/ports/lang/perl5.8
>Fix:
--- Makefile.orig Mon Dec 8 20:20:51 2003
+++ Makefile Tue Feb 17 06:08:35 2004
@@ -15,12 +15,16 @@
MAINTAINER= skv at FreeBSD.org
COMMENT= Modules that calculate message digests
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
PERL_CONFIGURE= yes
CONFIGURE_ARGS+= INSTALLDIRS="site"
MAN3= Digest.3 Digest::base.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
+RUN_DEPENDS= ${BUILD_DEPENDS}
+.endif
+
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list