Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Dec 2001 11:18:54 -0800 (PST)
From:      Joseph Scott <joseph@randomnetworks.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        andrew@ugh.net.au
Subject:   ports/33015: PORT UPDATE, PREFIX FIX : textproc/p5-XML-Simple 1.05 -> 1.06
Message-ID:  <200112191918.fBJJIsK40052@lart.owp.csus.edu>

next in thread | raw e-mail | index | archive | help

>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 <bsd.port.mk>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112191918.fBJJIsK40052>