Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Apr 2006 09:42:38 GMT
From:      skv@FreeBSD.org
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/95579: Set PERL_MM_USE_DEFAULT in BATCH mode
Message-ID:  <200604100942.k3A9gcUT084844@freefall.freebsd.org>
Resent-Message-ID: <200604100950.k3A9oD2q085230@freefall.freebsd.org>

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

>Number:         95579
>Category:       ports
>Synopsis:       Set PERL_MM_USE_DEFAULT in BATCH mode
>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:   Mon Apr 10 09:50:12 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Skvortsov
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
<Organization of PR author (multiple lines)>
>Environment:

	<Relevant environment information (multiple lines)>

>Description:

In BATCH mode set environment variable PERL_MM_USE_DEFAULT
to use default values for all ExtUtils::MakeMaker::prompt calls.

>How-To-Repeat:

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

>Fix:

--- bsd.port.mk.orig	Mon Apr 10 13:32:13 2006
+++ bsd.port.mk	Mon Apr 10 13:35:32 2006
@@ -1769,6 +1769,9 @@
 
 .if defined(PERL_CONFIGURE)
 USE_PERL5=	yes
+.if (defined(BATCH) && !defined(IS_INTERACTIVE))
+CONFIGURE_ENV+=	PERL_MM_USE_DEFAULT="YES"
+.endif
 .endif
 
 .if ${PERL_LEVEL} >= 500600
>Release-Note:
>Audit-Trail:
>Unformatted:



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