ports/94788: [PATCH] x11/xkbset: OPTIONify
Ion-Mihai IOnut Tetcu
itetcu at people.tecnik93.com
Tue Mar 21 16:30:28 UTC 2006
>Number: 94788
>Category: ports
>Synopsis: [PATCH] x11/xkbset: OPTIONify
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Mar 21 16:30:27 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Ion-Mihai "IOnut" Tetcu
>Release: FreeBSD 6.1-PRERELEASE i386
>Organization:
Tecnik'93
>Environment:
System: FreeBSD 6.1-PRERELEASE #0: Fri Feb 24 07:01:54 EET 2006
root at it.buh.tecnik93.com:/usr/obj/usr/src/sys/IT6_B_P
>Description:
Let users know we can also build / install a GUI for this port.
Part of: "OPTIONs are good, let's use them" effort.
>How-To-Repeat:
>Fix:
--- xkbset.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11/xkbset/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile 24 Oct 2003 12:05:02 -0000 1.5
+++ Makefile 21 Mar 2006 16:24:16 -0000
@@ -16,13 +16,16 @@
MAN1= xkbset.1
USE_X_PREFIX= yes
-USE_REINPLACE= yes
USE_PERL5_BUILD= yes
MAKE_ARGS= X11BASE="${X11BASE}" X11PREFIX="${PREFIX}" \
INSTALL_DATA="${INSTALL_DATA}" \
INSTALL_PROGRAM="${INSTALL_PROGRAM}"
+OPTIONS= GUI "Install Tk GUI" off
+
+.include <bsd.port.pre.mk>
+
.if defined(WITH_GUI)
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk
PLIST_SUB= GUI=""
@@ -35,4 +38,4 @@
post-build:
${REINPLACE_CMD} "s%#!/usr/bin/perl%#!${PERL}%" ${WRKSRC}/xkbset-gui
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- xkbset.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list