ports/67744: Can't build devel/gettext in batch mode

Ryan Malloy rpm at keynetics.com
Wed Jun 9 10:00:51 UTC 2004


>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 at 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:



More information about the freebsd-ports-bugs mailing list