Date: Fri, 15 Dec 2006 14:53:17 GMT From: Anton Yuzhaniov<citrin@rambler-co.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/106780: databases/p5-Cache-Memcached: depends on p5-Storable and p5-Time-HiRes only for perl older 5.8 Message-ID: <200612151453.kBFErH0P050780@www.freebsd.org> Resent-Message-ID: <200612151500.kBFF0Lxt035679@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612151453.kBFErH0P050780>