Date: Wed, 1 Mar 2006 16:21:34 GMT From: Scot Hetzel <swhetzel@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/93987: lang/perl5x: Allow the perl ports to specify an alternet __MAKE_CONF file to store the perl variables in. Message-ID: <200603011621.k21GLY1W025187@www.freebsd.org> Resent-Message-ID: <200603011630.k21GU6kT067664@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603011621.k21GLY1W025187>