[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ports/93987: lang/perl5x: Allow the perl ports to specify an alternet __MAKE_CONF file to store the perl variables in.



The following reply was made to PR ports/93987; it has been noted by GNATS.

From: "Scot Hetzel" <swhetzel_(_at_)_gmail_(_dot_)_com>
To: FreeBSD-gnats-submit_(_at_)_freebsd_(_dot_)_org
Cc: tobez_(_at_)_FreeBSD_(_dot_)_org
Subject: Re: ports/93987: lang/perl5x: Allow the perl ports to specify an alternet __MAKE_CONF file to store the perl variables in.
Date: Wed, 1 Mar 2006 10:42:27 -0600

 ------=_Part_452_9916502.1141231347565
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: inline
 
 Attached is the patch to the lang/perl5* ports that allows the
 use.perl script to place the PERL_* variables in an alternate
 make.conf file by setting PERL_MAKE_CONF.
 
 There probably should be a comment in the Makefile, above
 PERL_MAKE_CONF that says:
 
 # By setting PERL_MAKE_CONF, you will need to add
 # '.include "/alternate/make.conf' for this alternate make.conf
 # file in your /etc/make.conf file:
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=3D93987
 
 Scot
 
 --
 DISCLAIMER:
 No electrons were mamed while sending this message. Only slightly bruised.
 
 ------=_Part_452_9916502.1141231347565
 Content-Type: text/plain; name=perl.diff; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 X-Attachment-Id: f_ek9vf5kc
 Content-Disposition: attachment; filename="perl.diff"
 
 Index: lang/perl5/Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/lang/perl5/Makefile,v
 retrieving revision 1.69
 diff -u -r1.69 Makefile
 --- lang/perl5/Makefile	10 Oct 2005 15:38:15 -0000	1.69
 +++ lang/perl5/Makefile	28 Feb 2006 07:40:48 -0000
 @@ -23,6 +23,7 @@
  PERL_VER=	5.6.2
  PERL_ARCH=	mach
  PERL_VERSION=	${PERL_VER}
 +PERL_MAKE_CONF?=	${__MAKE_CONF}
  
  HAS_CONFIGURE=	yes
  CONFIGURE_SCRIPT=Configure
 @@ -117,7 +118,7 @@
  		-e 's|%%PERL_VER%%|${PERL_VER}|g;' \
  		-e 's|%%PERL_VERSION%%|${PERL_VERSION}|g;' \
  		-e 's|%%PERL_ARCH%%|${PERL_ARCH}|g;' \
 -		-e 's|%%MAKE_CONF%%|${__MAKE_CONF}|g;' \
 +		-e 's|%%MAKE_CONF%%|${PERL_MAKE_CONF}|g;' \
  		${FILESDIR}/use.perl \
  		> ${WRKDIR}/use.perl
  	${CP} ${WRKDIR}/use.perl ${PKGINSTALL}
 Index: lang/perl5.8/Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/lang/perl5.8/Makefile,v
 retrieving revision 1.88
 diff -u -r1.88 Makefile
 --- lang/perl5.8/Makefile	21 Feb 2006 14:27:36 -0000	1.88
 +++ lang/perl5.8/Makefile	28 Feb 2006 06:28:03 -0000
 @@ -26,6 +26,7 @@
  PERL_VER=	5.8.8
  PERL_ARCH=	mach
  PERL_VERSION=	${PERL_VER}
 +PERL_MAKE_CONF?=	${__MAKE_CONF}
  
  USE_BZIP2=	yes
  HAS_CONFIGURE=	yes
 @@ -153,7 +154,7 @@
  		-e 's|%%PERL_VER%%|${PERL_VER}|g;' \
  		-e 's|%%PERL_VERSION%%|${PERL_VERSION}|g;' \
  		-e 's|%%PERL_ARCH%%|${PERL_ARCH}|g;' \
 -		-e 's|%%MAKE_CONF%%|${__MAKE_CONF}|g;' \
 +		-e 's|%%MAKE_CONF%%|${PERL_MAKE_CONF}|g;' \
  		${FILESDIR}/use.perl \
  		> ${WRKDIR}/use.perl
  	${SED} -e 's|%%PERL%%|${PERL}|g;' \
 
 
 
 
 
 
 
 ------=_Part_452_9916502.1141231347565--
_______________________________________________
freebsd-ports-bugs_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe_(_at_)_freebsd_(_dot_)_org"


Visit your host, monkey.org