ports/98144: [Maintainer] www/dillo: activate optional download gui

Thomas-Martin Seck tmseck at netcologne.de
Tue May 30 13:30:23 UTC 2006


>Number:         98144
>Category:       ports
>Synopsis:       [Maintainer] www/dillo: activate optional download gui
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 30 13:30:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Thomas-Martin Seck
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
a private site in Germany
>Environment:
FreeBSD ports collection as of May 30, 2006.

	
>Description:
Implement a new configuration option WITH_DILLO_DLGUI (not enabled by default).
Dillo will use a FLTK2 based gui for file downloads when this option is set.
	
>How-To-Repeat:
	
>Fix:
Apply this patch:

Index: Makefile
===================================================================
--- Makefile	(.../www/dillo)	(revision 850)
+++ Makefile	(.../local/dillo)	(revision 850)
@@ -6,6 +6,7 @@
 #
 # Tunables:
 # WITH_DILLO_SSL: enable experimental SSL support
+# WITH_DILLO_DLGUI: enable experimental FLTK2 based gui for file downloads
 #
 
 PORTNAME=	dillo
@@ -29,7 +30,6 @@
 CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" \
 		LDFLAGS="${LDFLAGS}"
 CONFIGURE_ARGS=	--enable-cookies --enable-ipv6 --enable-threaded-dns \
-		--disable-dlgui \
 		--libdir=${PREFIX}/libexec
 
 .if defined(WITH_DILLO_SSL)
@@ -40,6 +40,15 @@
 CONFIGURE_ARGS+=	--disable-ssl
 .endif
 
+.if defined(WITH_DILLO_DLGUI)
+CONFIGURE_ARGS+=	--enable-dlgui
+BUILD_DEPENDS+=	fltk>=2.0.r4825:${PORTSDIR}/x11-toolkits/fltk2
+CPPFLAGS+=	-I${X11BASE}/include
+LDFLAGS+=	-L${X11BASE}/lib
+.else
+CONFIGURE_ARGS+=	--disable-dlgui
+.endif
+
 CONFLICTS=	dillo-i18n-*[0-9]*
 
 post-patch:
@@ -54,6 +63,11 @@
 	@${ECHO_CMD} "   Set WITH_DILLO_SSL=yes in your make environment or on the"
 	@${ECHO_CMD} "   commandline to enable experimental SSL support."
 .endif
+.if !defined(WITH_DILLO_DLGUI)
 	@${ECHO_CMD} ""
+	@${ECHO_CMD} "   Set WITH_DILLO_DLGUI=yes in your make environment or on the"
+	@${ECHO_CMD} "   commandline to enable a FLTK2 based gui for download operations."
+.endif
+	@${ECHO_CMD} ""
 
 .include <bsd.port.mk>
	


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list