Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 2004 09:51:32 GMT
From:      Ryan Malloy <rpm@keynetics.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/67744: Can't build devel/gettext in batch mode
Message-ID:  <200406090951.i599pWmq055092@www.freebsd.org>
Resent-Message-ID: <200406091000.i59A0hhD084816@freefall.freebsd.org>

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

>Number:         67744
>Category:       ports
>Synopsis:       Can't build devel/gettext in batch mode
>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 Jun 09 10:00:43 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ryan Malloy
>Release:        4.10
>Organization:
Keynetics
>Environment:
FreeBSD sys6.boi.keynetics.net 4.10-RELEASE FreeBSD 4.10-RELEASE #3: Sat Jun  5 09:05:02 GMT 2004     rmalloy@sys6.boi.keynetics.net:/usr/src/sys/compile/WWW  i386      
>Description:
I use a shell script to do all my port installs unattended. There is no knob on devel/gettext to prevent dialog from promting for user input.  I have included a patch to add a BATCH knob that disables any user interaction, allowing the port to be installed unattended.
>How-To-Repeat:
cd /usr/ports/devel/gettext
make &

Port will hang at dialog waiting for user input.
>Fix:
--- Makefile.bak        Wed Jun  9 09:46:55 2004
+++ Makefile    Wed Jun  9 09:47:43 2004
@@ -31,8 +31,11 @@
                --mandir=${PREFIX}/man
 INSTALLS_SHLIB=        yes
 
+.ifdef BATCH
 OPTIONS=       EXAMPLES "install example files" off \
                HTMLMAN "install man pages in HTML format" off
+.endif
+
 PLIST=         ${WRKDIR}/plist
 PLISTU=                ${WRKDIR}/plist-unsorted
 PLIST_SUB=     LOCALBASE=${LOCALBASE} X11BASE=${X11BASE} 
>Release-Note:
>Audit-Trail:
>Unformatted:



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