From owner-freebsd-ports Sat Sep 28 17: 0:40 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 F182337B401 for ; Sat, 28 Sep 2002 17:00:37 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41F9443E6A for ; Sat, 28 Sep 2002 17:00:37 -0700 (PDT) (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 g8T00bCo071392 for ; Sat, 28 Sep 2002 17:00:37 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8T00bHt071391; Sat, 28 Sep 2002 17:00:37 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A57237B401; Sat, 28 Sep 2002 16:58:07 -0700 (PDT) Received: from wwweasel.geeksrus.net (wwweasel.geeksrus.net [64.8.210.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2DC343E42; Sat, 28 Sep 2002 16:58:06 -0700 (PDT) (envelope-from root@wwweasel.geeksrus.net) Received: from wwweasel.geeksrus.net (smmsp@localhost [127.0.0.1]) by wwweasel.geeksrus.net (8.12.6/8.12.6) with ESMTP id g8SNvU50049479; Sat, 28 Sep 2002 19:57:30 -0400 (EDT) (envelope-from root@wwweasel.geeksrus.net) Received: (from root@localhost) by wwweasel.geeksrus.net (8.12.6/8.12.6/Submit) id g8SNvU0c049478; Sat, 28 Sep 2002 19:57:30 -0400 (EDT) (envelope-from root) Message-Id: <200209282357.g8SNvU0c049478@wwweasel.geeksrus.net> Date: Sat, 28 Sep 2002 19:57:30 -0400 (EDT) From: Alan Eldridge Reply-To: Alan Eldridge To: FreeBSD-gnats-submit@FreeBSD.org Cc: skv@FreeBSD.org, portmgr@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/43460: textproc/p5-PodParser: should not depend on File::Spec for 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: 43460 >Category: ports >Synopsis: textproc/p5-PodParser: should not depend on File::Spec for 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: Sat Sep 28 17:00:15 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Alan Eldridge >Release: FreeBSD 4.7-RC i386 >Organization: Geeksrus.NET >Environment: System: FreeBSD wwweasel.geeksrus.net 4.7-RC FreeBSD 4.7-RC #1: Wed Sep 25 02:04:21 EDT 2002 root@wwweasel.geeksrus.net:/usr/obj/usr/src/sys/WWWEASEL i386 >Description: Perl 5.8.0 contains a newer version of File::Spec than the port. Request permission to commit now. >How-To-Repeat: >Fix: Yes, that weird command works. I had to think of some way to get a comparable integer out of the various PERL_VER values we could have to deal with (5.005 really throws a spanner in the works). I'd like to do that entirely with Make substitutions, but I don't think I can without some serious cogitation, convening with the undead, and the occasional goat or 1337 14m3R sacrifice.. oh, and I might need one of Netwizard's dead sheep, too. (Look, *he's* the one's been killing sheep, *not* me....) Once I figger out a better way to do it I'll put it in bsd.port.mk. It's kinda surprising we don't have a comparable version value in there now. ==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<== Index: Makefile =================================================================== RCS file: /home/ncvs/ports/textproc/p5-PodParser/Makefile,v retrieving revision 1.3 diff -u -3 -r1.3 Makefile --- Makefile 12 Sep 2002 17:22:03 -0000 1.3 +++ Makefile 28 Sep 2002 08:57:33 -0000 @@ -14,9 +14,6 @@ MAINTAINER= skv@FreeBSD.org -BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec -RUN_DEPENDS= ${BUILD_DEPENDS} - PERL_CONFIGURE= yes MAN1= pod2usage.1 podchecker.1 podselect.1 @@ -29,4 +26,13 @@ post-patch: @${FIND} ${WRKSRC} -name \*.orig -exec ${RM} {} \; -.include +.include + +PV!= echo ${PERL_VER} 0 0 | sed -e 's|\.| |g' -e 's| 0*\([1-9]\)| \1|g' \ + | xargs printf '%d%003d%003d\t' | cut -f1 +.if ${PV} < 5008000 +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +RUN_DEPENDS= ${BUILD_DEPENDS} +.endif + +.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