Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Aug 2002 15:10:54 -0400 (EDT)
From:      Alan Eldridge <ports@geeksrus.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        shell@shellhung.org
Subject:   ports/42136: devel/p5-Test-Simple: force install into 'site', otherwise goes into /usr/local/lib/Test/...
Message-ID:  <200208281910.g7SJAsDg068494@wwweasel.geeksrus.net>

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

>Number:         42136
>Category:       ports
>Synopsis:       devel/p5-Test-Simple: force install into 'site', otherwise goes into /usr/local/lib/Test/...
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 28 12:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Alan Eldridge
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
Geeksrus.NET
>Environment:
System: FreeBSD wwweasel.geeksrus.net 4.6-STABLE FreeBSD 4.6-STABLE #2: Fri Aug 23 23:47:35 EDT 2002 root@wwweasel.geeksrus.net:/usr/obj/usr/src/sys/WWWEASEL i386


>Description:

Force the install to go into 'site', not 'perl', as it does now with 5.8.0.
Otherwise, it does into /usr/local/lib directly and (1) that's not on the path,
(2) it breaks make package, (3) it breaks a chain of packages that are
dependent on it because they won't see the new one.

I would like permission to commit this ASAP. Thanks.

>How-To-Repeat:

make package

>Fix:

==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<==
Index: devel/p5-Test-Simple/files/patch-Makefile.PL
===================================================================
RCS file: devel/p5-Test-Simple/files/patch-Makefile.PL
diff -N devel/p5-Test-Simple/files/patch-Makefile.PL
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ devel/p5-Test-Simple/files/patch-Makefile.PL	28 Aug 2002 15:16:22 -0000
@@ -0,0 +1,11 @@
+--- Makefile.PL~	Mon Aug 26 06:53:00 2002
++++ Makefile.PL	Wed Aug 28 11:15:58 2002
+@@ -37,7 +37,7 @@
+                         File::Spec      => 0.6,
+                        },
+     # Added to the core somewhere around 5.7.2.
+-    INSTALLDIRS     => $] >= 5.00702 ? 'perl' : 'site'
++    INSTALLDIRS     => 'site'
+ );
+ 
+ 
==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?200208281910.g7SJAsDg068494>