Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 2010 15:36:54 +0100 (CET)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/142747: [patch] textproc/htmldoc -- really disable GUI if not needed
Message-ID:  <201001121436.o0CEasTW089314@tucana.bfh.ch>
Resent-Message-ID: <201001121440.o0CEe4mq009945@freefall.freebsd.org>

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

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



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