Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Nov 2005 14:35:58 +0100 (CET)
From:      Pawel Wieleba <P.Wieleba@iem.pw.edu.pl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/89138: [PATCH] devel/kdesdk3; enable OPTIONS; configure KNOBS via dialog
Message-ID:  <20051116133558.419F827509@amper.iem.pw.edu.pl>
Resent-Message-ID: <200511161340.jAGDeF43074391@freefall.freebsd.org>

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

>Number:         89138
>Category:       ports
>Synopsis:       [PATCH] devel/kdesdk3;  enable OPTIONS; configure KNOBS via dialog
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 16 13:40:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Pawel Wieleba
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD srv 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Mon Oct 31 17:22:48 CET 2005 root@srv:/usr/src/sys/i386/compile/SRV i386
	
>Description:
	This port doesn't support configuration via dialog (doesn't support options).
	
>How-To-Repeat:
	"make config" is not supported
	
>Fix:
	I've added OPTIONS support to devel/kdesdk3 port in the patch:
	

--- Makefile.diff begins here ---
--- Makefile-OLD	Sat Nov  5 14:57:30 2005
+++ Makefile	Wed Nov 16 14:25:32 2005
@@ -40,17 +40,12 @@
 
 MAN1=		cervisia.1 cvsblame.1 cvscheck.1 cvsversion.1 includemocs.1 kde-build.1 noncvslist.1
 
+OPTIONS=	OPTIONAL_DEPENDS "Build programs to complement kdesdk3" off
+
 .include "${.CURDIR}/../../x11/kde3/Makefile.kde"
 .include <bsd.port.pre.mk>
 
 pre-everything::
-.if !defined(WITH_OPTIONAL_DEPENDS)
-	@${ECHO_MSG}
-	@${ECHO_MSG} "You may define WITH_OPTIONAL_DEPENDS (make WITH_OPTIONAL_DEPENDS=YES)"
-	@${ECHO_MSG} "to automatically build the suggested programs to complement kdesdk3."
-	@${ECHO_MSG}
-.endif
-
 # callgrind is optional. It depends on valgrind, which is i386 only.
 .if defined(WITH_OPTIONAL_DEPENDS) && ${ARCH} == "i386"
 RUN_DEPENDS+=	callgrind:${PORTSDIR}/devel/callgrind
--- Makefile.diff ends here ---


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



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