ports/93987: lang/perl5x: Allow the perl ports to specify an alternet __MAKE_CONF file to store the perl variables in.
Scot Hetzel
swhetzel at gmail.com
Wed Mar 1 16:30:47 UTC 2006
>Number: 93987
>Category: ports
>Synopsis: lang/perl5x: Allow the perl ports to specify an alternet __MAKE_CONF file to store the perl variables in.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Mar 01 16:30:05 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Scot Hetzel
>Release:
>Organization:
>Environment:
>Description:
In my /etc/make.conf, I use '.include' to bring in /etc/make.conf.ports, so that I can have the port specific variables in a seperate file.
The problem is that when I install one of the lang/perl5* ports, it modifies /etc/make.conf, so that it can place its PERL_* variables in it. I would prefer to have these variables added to /etc/make.conf.ports.
>How-To-Repeat:
Create a /etc/make.conf file similar to the one below:
# default /etc/make.conf
.if ${.CURDIR:M/usr/src/5x/*}
.include "/etc/make.conf.5x"
.elif ${.CURDIR:M/usr/src/7x/*}
.include "/etc/make.conf.7x"
.else
.include "/etc/make.conf.6x"
.endif
# ports
.if ${.CURDIR:M/usr/ports/*}
.include "/etc/make.conf.ports"
.endif
Then install one of the lang/perl5* ports, and see that /etc/make.conf has been modified.
>Fix:
I have created a patch that adds:
PERL_MAKE_CONF?= __MAKE_CONF
and then changes the substitution for use.perl to use PERL_MAKE_CONF instead of __MAKE_CONF. This allows the port to use an alternate file to place the PERL_* variables in.
see patch in following email.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list