From owner-freebsd-ports Tue Oct 29 17:50:27 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD15137B404 for ; Tue, 29 Oct 2002 17:50:13 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D1C343EAF for ; Tue, 29 Oct 2002 17:50:05 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9U1o5x3011288 for ; Tue, 29 Oct 2002 17:50:05 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9U1o5Lt011285; Tue, 29 Oct 2002 17:50:05 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0960437B401; Tue, 29 Oct 2002 17:48:58 -0800 (PST) Received: from wwweasel.geeksrus.net (wwweasel.geeksrus.net [64.8.210.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5251343E7B; Tue, 29 Oct 2002 17:48:57 -0800 (PST) (envelope-from alane@wwweasel.geeksrus.net) Received: from wwweasel.geeksrus.net (localhost [127.0.0.1]) by wwweasel.geeksrus.net (8.12.6/8.12.6) with ESMTP id g9U1mWjR004600; Tue, 29 Oct 2002 20:48:32 -0500 (EST) (envelope-from alane@wwweasel.geeksrus.net) Received: (from root@localhost) by wwweasel.geeksrus.net (8.12.6/8.12.6/Submit) id g9U1mWCL004599; Tue, 29 Oct 2002 20:48:32 -0500 (EST) (envelope-from alane) Message-Id: <200210300148.g9U1mWCL004599@wwweasel.geeksrus.net> Date: Tue, 29 Oct 2002 20:48:32 -0500 (EST) From: Alan Eldridge Reply-To: Alan Eldridge To: FreeBSD-gnats-submit@FreeBSD.org Cc: ports@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/44724: security/p5-Crypt-Twofish: p5-File-Spec should only be used if perl < 5.8 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 44724 >Category: ports >Synopsis: security/p5-Crypt-Twofish: p5-File-Spec should only be used if perl < 5.8 >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 29 17:50:04 PST 2002 >Closed-Date: >Last-Modified: >Originator: Alan Eldridge >Release: FreeBSD 4.7-STABLE i386 >Organization: Geeksrus.NET >Environment: System: FreeBSD wwweasel.geeksrus.net 4.7-STABLE FreeBSD 4.7-STABLE #2 Sat Oct 26 12:33:12 EDT 2002 root@wwweasel.geeksrus.net:/usr/obj/usr/src/sys/MY_SHITS_FUCKED_UP i386 >Description: p5-File-Spec should only be used if perl < 5.8 >How-To-Repeat: >Fix: ==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<== Index: security/p5-Crypt-Twofish/Makefile =================================================================== RCS file: /home/ncvs/ports/security/p5-Crypt-Twofish/Makefile,v retrieving revision 1.4 diff -u -3 -r1.4 Makefile --- security/p5-Crypt-Twofish/Makefile 23 Sep 2002 17:48:42 -0000 1.4 +++ security/p5-Crypt-Twofish/Makefile 29 Oct 2002 09:25:30 -0000 @@ -14,8 +14,6 @@ MAINTAINER= ports@FreeBSD.org -BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec - RESTRICTED= "Crypto; export-controlled" PERL_CONFIGURE= yes @@ -24,4 +22,15 @@ MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -.include +.include + +SITE_PERL?= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} + +PERL_MAJOR=${PERL_VER:C|^([1-9]+).*|\1|} +PERL_MINOR=${PERL_VER:C|^[1-9]+\.0*([1-9]+).*|\1|} + +.if ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8 +BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +.endif # ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8 + +.include ==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<== >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message