ports/69794: [ patch ] x11-wm/fluxbox-devel: add WITHOUT_TOOLBAR and WITHOUT_SLIT knobs

Roman Bogorodskiy bogorodskiy at inbox.ru
Fri Jul 30 10:00:44 UTC 2004


>Number:         69794
>Category:       ports
>Synopsis:       [ patch ] x11-wm/fluxbox-devel: add WITHOUT_TOOLBAR and WITHOUT_SLIT knobs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 30 10:00:43 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Roman Bogorodskiy
>Release:        FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
>Environment:
System: FreeBSD lame.novel.ru 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #7: Sun Jul 25 13:26:23 MSD 2004 root at lame.novel.ru:/usr/obj/usr/src/sys/NOV i386


>Description:
	Add WITHOUT_TOOLBAR and WITHOUT_SLIT knobs for enabling/disabling 
	toolbar/slit support. 

	Both toolbar and slit are enabled by default.

>How-To-Repeat:
>Fix:

diff -ruN fluxbox-devel.orig/Makefile fluxbox-devel/Makefile
--- fluxbox-devel.orig/Makefile	Fri Jul 30 12:58:02 2004
+++ fluxbox-devel/Makefile	Fri Jul 30 13:52:23 2004
@@ -68,6 +68,18 @@
 PLIST_SUB+=		DOCHTML:="@comment "
 .endif
 
+.if defined(WITHOUT_TOOLBAR)
+CONFIGURE_ARGS+=	--disable-toolbar
+.else
+CONFIGURE_ARGS+=	--enable-toolbar
+.endif
+
+.if defined(WITHOUT_SLIT)
+CONFIGURE_ARGS+=	--disable-slit
+.else
+CONFIGURE_ARGS+=	--enable-slit
+.endif
+
 .if !defined(WITHOUT_NLS)
 USE_GETTEXT=		yes
 CONFIGURE_ARGS+=	--enable-nls
@@ -109,6 +121,12 @@
 .endif
 .if !defined(WITHOUT_NLS)
 	@${ECHO_CMD} "WITHOUT_NLS=yes		Disable NLS support"
+.endif
+.if !defined(WITHOUT_TOOLBAR)
+	@${ECHO_CMD} "WITHOUT_TOOLBAR=yes	Disable toolbar"
+.endif
+.if !defined(WITHOUT_SLIT)
+	@${ECHO_CMD} "WITHOUT_SLIT=yes	Disable slit"
 .endif
 
 post-patch:
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list