ports/106780: databases/p5-Cache-Memcached: depends on p5-Storable and p5-Time-HiRes only for perl older 5.8
Anton Yuzhaniov
citrin at rambler-co.ru
Fri Dec 15 15:00:22 UTC 2006
>Number: 106780
>Category: ports
>Synopsis: databases/p5-Cache-Memcached: depends on p5-Storable and p5-Time-HiRes only for perl older 5.8
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Dec 15 15:00:20 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Anton Yuzhaniov
>Release:
>Organization:
Rambler
>Environment:
FreeBSD 6.2-20061003-SNAP amd64
>Description:
p5-Cache-Memcached depends on p5-Storable and p5-Time-HiRes, but with perl5.8 this modules already installed
>How-To-Repeat:
install perl5.8 and p5-Cache-Memcached
p5-Storable and p5-Time-HiRes will be installed:
>Fix:
patch attached
Patch attached with submission follows:
--- Makefile.orig Thu Jun 29 06:01:20 2006
+++ Makefile Fri Dec 15 02:05:13 2006
@@ -16,16 +16,18 @@
MAINTAINER= perl at FreeBSD.org
COMMENT= Perl API for memcached, a distributed memory cache daemon
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/String/CRC32.pm:${PORTSDIR}/devel/p5-String-CRC32 \
- ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \
- ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/String/CRC32.pm:${PORTSDIR}/devel/p5-String-CRC32
PERL_CONFIGURE= yes
MAN3= Cache::Memcached.3
.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
+ ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
+.endif
.if ${PERL_LEVEL} < 500600
IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list