ports/142747: [patch] textproc/htmldoc -- really disable GUI if not needed

Pietro Cerutti gahr at FreeBSD.org
Tue Jan 12 14:40:04 UTC 2010


>Number:         142747
>Category:       ports
>Synopsis:       [patch] textproc/htmldoc -- really disable GUI if not needed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 12 14:40:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Pietro Cerutti
>Release:        FreeBSD 9.0-CURRENT sparc64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD tucana.bfh.ch 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Thu Dec 3 19:51:47 CET 2009 root at tucana.bfh.ch:/usr/obj/usr/src/sys/TUCANA sparc64
>Description:
The wrong option is given to configure, to disable GUI. The effect is that if fltk is installed, GUI is enabled no matter how the OPTIONS option is set.
>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/textproc/htmldoc/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile	18 Jul 2009 11:11:20 -0000	1.16
+++ Makefile	12 Jan 2010 14:27:59 -0000
@@ -50,8 +50,8 @@
 
 .if !defined(WITHOUT_HTMLDOCGUI)
 LIB_DEPENDS+=	fltk:${PORTSDIR}/x11-toolkits/fltk
-CONFIGURE_ARGS+=--enable-gui
+CONFIGURE_ARGS+=--with-gui=yes
 .else
-CONFIGURE_ARGS+=--disable-gui
+CONFIGURE_ARGS+=--with-gui=no
 .endif
 .include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list