Date: Tue, 29 Oct 2002 20:48:28 -0500 (EST) From: Alan Eldridge <alane@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: dburr@FreeBSD.org Subject: ports/44719: devel/p5-File-Spec: p5-File-Spec should only be used if perl < 5.8 Message-ID: <200210300148.g9U1mSiq004339@wwweasel.geeksrus.net>
next in thread | raw e-mail | index | archive | help
>Number: 44719 >Category: ports >Synopsis: devel/p5-File-Spec: 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:02 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: devel/p5-File-Spec/Makefile =================================================================== RCS file: /home/ncvs/ports/devel/p5-File-Spec/Makefile,v retrieving revision 1.7 diff -u -3 -r1.7 Makefile --- devel/p5-File-Spec/Makefile 25 Apr 2002 15:37:29 -0000 1.7 +++ devel/p5-File-Spec/Makefile 30 Oct 2002 01:33:09 -0000 @@ -25,4 +25,21 @@ File::Spec::Win32.3 MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +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|} + +.undef NO_IGNORE +.if ${PERL_MAJOR} > 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} >= 8 +BROKEN= Perl 5.8.x contains newer version of this module. +.else + +post-install: + ${CAT} ${PKGMESSAGE} + +.endif # ${PERL_MAJOR} > 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} >= 8 + +.include <bsd.port.post.mk> Index: devel/p5-File-Spec/pkg-message =================================================================== RCS file: devel/p5-File-Spec/pkg-message diff -N devel/p5-File-Spec/pkg-message --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ devel/p5-File-Spec/pkg-message 30 Oct 2002 01:36:02 -0000 @@ -0,0 +1,6 @@ +====================================================================== +*******************************IMPORTANT****************************** +Please remove the File::Spec module from the base system Perl install +(if you have one) in order for this one to be found and used. +*******************************IMPORTANT****************************** +====================================================================== ==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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210300148.g9U1mSiq004339>