From yinjieh@csie.nctu.edu.tw  Fri Aug 20 15:01:21 2004
Return-Path: <yinjieh@csie.nctu.edu.tw>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id A16E116A4CE; Fri, 20 Aug 2004 15:01:21 +0000 (GMT)
Received: from alumni.csie.nctu.edu.tw (alumni.csie.nctu.edu.tw [140.113.209.4])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 1F49443D2F; Fri, 20 Aug 2004 15:01:21 +0000 (GMT)
	(envelope-from yinjieh@csie.nctu.edu.tw)
Received: from alumni.csie.nctu.edu.tw (yinjieh@localhost [127.0.0.1])
	by alumni.csie.nctu.edu.tw (8.12.11/8.12.9) with ESMTP id i7KF1BfG053179;
	Fri, 20 Aug 2004 23:01:11 +0800 (CST)
Received: (from yinjieh@localhost)
	by alumni.csie.nctu.edu.tw (8.12.11/8.12.3/Submit) id i7KF1Ba8053178;
	Fri, 20 Aug 2004 23:01:11 +0800 (CST)
Message-Id: <200408201501.i7KF1Ba8053178@alumni.csie.nctu.edu.tw>
Date: Fri, 20 Aug 2004 23:01:11 +0800 (CST)
From: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
Reply-To: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
To: FreeBSD-gnats-submit@freebsd.org
Cc: ports@freebsd.org
Subject: [UPDATE] Enable OPTIONS feature of ports/x11/xbindkeys
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         70717
>Category:       ports
>Synopsis:       [UPDATE] Enable OPTIONS feature of ports/x11/xbindkeys
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 20 15:10:23 GMT 2004
>Closed-Date:    Fri Aug 20 18:33:34 GMT 2004
>Last-Modified:  Fri Aug 20 18:33:34 GMT 2004
>Originator:     Ying-Chieh Chen
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
NCTU CSIE
>Environment:
System: FreeBSD alumni 4.10-STABLE FreeBSD 4.10-STABLE #25: Fri Jul 2 07:46:15 CST 2004 wcpan@ccduty:/bsdhome/bsd4/obj/bsdhome/bsd4/src/sys/CSIEBSD i386


	
>Description:

	Enable OPTIONS feature of ports/x11/xbindkeys

>How-To-Repeat:

	Apply the patch.

>Fix:

	

--- xbindkeys.patch begins here ---
diff -ruN /usr/ports/x11/xbindkeys/Makefile xbindkeys/Makefile
--- /usr/ports/x11/xbindkeys/Makefile	Wed Apr 14 19:53:44 2004
+++ xbindkeys/Makefile	Fri Aug 20 19:25:13 2004
@@ -25,6 +25,11 @@
 
 WISH=		${LOCALBASE}/bin/wish8.4
 
+OPTIONS=	GUILE "Guile support" off \
+		TCLTK "Tcl/Tk support" off
+
+.include <bsd.port.pre.mk>
+
 .if defined(WITH_GUILE)
 LIB_DEPENDS+=	guile.15:${PORTSDIR}/lang/guile
 .else
@@ -40,14 +45,6 @@
 PLIST_SUB+=	TCLTK="@comment "
 .endif
 
-pre-everything::
-	@${ECHO_MSG} ""
-	@${ECHO_MSG} "XbindKeys has the following tunable options:"
-	@${ECHO_MSG} ""
-	@${ECHO_MSG} "	WITH_GUILE=yes			Turns on Guile support"
-	@${ECHO_MSG} "	WITH_TCLTK=yes			Turns on Tcl/Tk support"
-	@${ECHO_MSG} ""
-
 post-patch:
 	@${REINPLACE_CMD} -e 's| wish | ${WISH} |g' ${WRKSRC}/xbindkeys_show
 
@@ -57,4 +54,4 @@
 	${INSTALL_DATA} ${WRKSRC}/xbindkeysrc ${EXAMPLESDIR}
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- xbindkeys.patch ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Fri Aug 20 18:33:27 GMT 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70717 
>Unformatted:
