From owner-freebsd-ports Wed Dec 19 11:20:36 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A160437B417 for ; Wed, 19 Dec 2001 11:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBJJK1m58497; Wed, 19 Dec 2001 11:20:01 -0800 (PST) (envelope-from gnats) Received: from lart.owp.csus.edu (lart.owp.csus.edu [130.86.232.246]) by hub.freebsd.org (Postfix) with ESMTP id CFB0A37B417 for ; Wed, 19 Dec 2001 11:19:01 -0800 (PST) Received: (from root@localhost) by lart.owp.csus.edu (8.11.6/8.11.6) id fBJJIvm40076; Wed, 19 Dec 2001 11:18:57 -0800 (PST) (envelope-from scottj) Received: (from root@localhost) by lart.owp.csus.edu (8.11.6/8.11.6av) id fBJJIsK40052; Wed, 19 Dec 2001 11:18:54 -0800 (PST) (envelope-from scottj) Message-Id: <200112191918.fBJJIsK40052@lart.owp.csus.edu> Date: Wed, 19 Dec 2001 11:18:54 -0800 (PST) From: Joseph Scott Reply-To: Joseph Scott To: FreeBSD-gnats-submit@freebsd.org Cc: andrew@ugh.net.au X-Send-Pr-Version: 3.113 Subject: ports/33015: PORT UPDATE, PREFIX FIX : textproc/p5-XML-Simple 1.05 -> 1.06 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: 33015 >Category: ports >Synopsis: PORT UPDATE, PREFIX FIX : textproc/p5-XML-Simple 1.05 -> 1.06 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Dec 19 11:20:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Joseph Scott >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD lart.owp.csus.edu 4.4-STABLE FreeBSD 4.4-STABLE #0: Tue Dec 18 15:46:28 PST 2001 scottj@lart.owp.csus.edu:/usr/obj/usr/src/sys/LART i386 >Description: PORT UPDATE, PREFIX FIX : textproc/p5-XML-Simple 1.05 -> 1.06 Please Note : 1. I've CC'd the maintainer, andrew@ugh.net.au, on this PR. 2. The PREFIX fix that I've included is rather brute force'ish, but it appears to be the only way to get perl modules to respect PREFIX correctly. If you know of a better way to do this (I hope someone does) then please let me know. >How-To-Repeat: >Fix: diff -ruN p5-XML-Simple.orig/Makefile p5-XML-Simple/Makefile --- p5-XML-Simple.orig/Makefile Wed Dec 19 11:03:24 2001 +++ p5-XML-Simple/Makefile Wed Dec 19 11:09:53 2001 @@ -6,7 +6,7 @@ # PORTNAME= XML-Simple -PORTVERSION= 1.05 +PORTVERSION= 1.06 CATEGORIES= textproc perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= XML @@ -20,5 +20,8 @@ MAN3= XML::Simple.3 MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +pre-install: + ${PERL} -pi -e "s:/usr/local:${PREFIX}:g" ${WRKSRC}/Makefile; .include diff -ruN p5-XML-Simple.orig/distinfo p5-XML-Simple/distinfo --- p5-XML-Simple.orig/distinfo Wed Dec 19 11:03:24 2001 +++ p5-XML-Simple/distinfo Wed Dec 19 11:04:15 2001 @@ -1 +1 @@ -MD5 (XML-Simple-1.05.tar.gz) = 2f003d83da8c87b7025cd22fabd7c8ac +MD5 (XML-Simple-1.06.tar.gz) = 1f210e6ab932c3f201bee96603762f96 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message