Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Feb 2005 12:21:18 GMT
From:      skv@FreeBSD.org
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/78144: Force INSTALLDIRS="site" for perl ports
Message-ID:  <200502271221.j1RCLINT094719@freefall.freebsd.org>
Resent-Message-ID: <200502271230.j1RCUDEN094855@freefall.freebsd.org>

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

>Number:         78144
>Category:       ports
>Synopsis:       Force INSTALLDIRS="site" for perl ports
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 27 12:30:13 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Skvortsov
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
<Organization of PR author (multiple lines)>
>Environment:

	<Relevant environment information (multiple lines)>

>Description:

Some perl modules want to be installed in 'perl' tree (/usr/lib/perl5/*).
However ports policy explicitly forbid such immodest behaviour.

To satisfy these fair requirements many ports contain next line:
CONFIGURE_ARGS+=	INSTALLDIRS="site"

Offered patch integrates this line into bsd.port.mk.

Affected ports:

converters/p5-MIME-Base64	devel/p5-AtExit
devel/p5-Class-Fields		devel/p5-Devel-PPPort
devel/p5-Devel-ptkdb		devel/p5-ExtUtils-MakeMaker
devel/p5-ExtUtils-ParseXS	devel/p5-ExtUtils-XSBuilder
devel/p5-File-Spec		devel/p5-File-Temp
devel/p5-IO			devel/p5-Locale-Maketext
devel/p5-NEXT			devel/p5-PCSC-Card
devel/p5-Storable		devel/p5-Test-Tester
devel/p5-Time-HiRes		devel/p5-Time-Local
devel/p5-base			devel/p5-ExtUtils-Constant
math/p5-Math-BigInt		misc/p5-I18N-LangTags
net/p5-Net			www/p5-CGI.pm
security/p5-Digest		security/p5-Digest-MD4
security/p5-Digest-MD5		security/p5-Digest-MD5-M4p
textproc/p5-Pod-Stripper	textproc/p5-PodParser
textproc/p5-podlators

These ports can be easily cleaned up to use new "feature" - just
remove INSTALLDIRS="site" clause from Makefile.

>How-To-Repeat:

	<Code/input/activities to reproduce the problem (multiple lines)>

>Fix:
--- bsd.port.mk.orig	Sun Feb 27 15:01:37 2005
+++ bsd.port.mk	Sun Feb 27 15:14:54 2005
@@ -1632,6 +1632,8 @@
 	install_path=bin="${PREFIX}/bin" \
 	install_path=libdoc="${MAN3PREFIX}/man/man3" \
 	install_path=bindoc="${MAN1PREFIX}/man/man1"
+.elif defined(PERL_CONFIGURE)
+CONFIGURE_ARGS+=	INSTALLDIRS="site"
 .endif
 
 .if defined(PERL_CONFIGURE)
>Release-Note:
>Audit-Trail:
>Unformatted:



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