Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 May 2012 16:12:23 GMT
From:      Chris Rees <crees@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/168379: [PATCH] bsd.perl.mk stop clobbering USE_PERL5 values
Message-ID:  <201205271612.q4RGCNhs088066@freefall.freebsd.org>
Resent-Message-ID: <201205271620.q4RGK0pl090390@freefall.freebsd.org>

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

>Number:         168379
>Category:       ports
>Synopsis:       [PATCH] bsd.perl.mk stop clobbering USE_PERL5 values
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 27 16:20:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Chris Rees
>Release:        FreeBSD 9.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 9.0-STABLE FreeBSD 9.0-STABLE #6 r235139: Tue May 8 21:19:03 UTC 2012 simon@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386


	
>Description:
	When PERL_CONFIGURE is defined the value in USE_PERL5 is clobbered; the version number is no longer visible and tests on versions fail.
>How-To-Repeat:
	http://lists.freebsd.org/pipermail/freebsd-ports/2012-May/075195.html
>Fix:

	

--- patch.txt begins here ---
Index: bsd.perl.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.perl.mk,v
retrieving revision 1.25
diff -u -r1.25 bsd.perl.mk
--- bsd.perl.mk	23 May 2012 08:17:49 -0000	1.25
+++ bsd.perl.mk	27 May 2012 16:09:08 -0000
@@ -168,7 +168,7 @@
 .endif # defined(PERL_MODBUILD)
 
 .if defined(PERL_CONFIGURE)
-USE_PERL5=	yes
+USE_PERL5?=	yes
 # Disable AutoInstall from attempting to install from CPAN directly in
 # the case of missing dependencies.  This causes the build to loop on
 # the build cluster asking for interactive input.
--- patch.txt ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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