ports/86138: [PATCH] net/pfinger: WITHOUT_X11 support
Roman Neuhauser
neuhauser at sigpipe.cz
Wed Sep 14 22:10:19 UTC 2005
>Number: 86138
>Category: ports
>Synopsis: [PATCH] net/pfinger: WITHOUT_X11 support
>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: Wed Sep 14 22:10:13 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Roman Neuhauser
>Release: FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
>Description:
pfinger includes an optional graphic (gtk12) client, but the port doesn't
support WITHOUT_X11.
pfinger.1 is installed regardless of --without-client, but that's just
a minor nuisance.
>How-To-Repeat:
>Fix:
--- net::pfinger-WITHOUT_X11,0.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/pfinger/Makefile,v
retrieving revision 1.9
diff -u -u -r1.9 Makefile
--- Makefile 4 Feb 2004 05:08:18 -0000 1.9
+++ Makefile 14 Sep 2005 21:54:58 -0000
@@ -19,8 +19,14 @@
CONFLICTS= gnu-finger-1.*
USE_REINPLACE= yes
-USE_GNOME= gtk12
GNU_CONFIGURE= yes
+.if !defined(WITHOUT_X11)
+USE_GNOME= gtk12
+PLIST_SUB+= WITHOUT_X11=""
+.else
+CONFIGURE_ARGS+=--without-client
+PLIST_SUB+= WITHOUT_X11="@comment "
+.endif
MAN1= finger.1 pfinger.1
MAN5= fingerconf.5
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/net/pfinger/pkg-plist,v
retrieving revision 1.1
diff -u -u -r1.1 pkg-plist
--- pkg-plist 26 Apr 2001 17:20:33 -0000 1.1
+++ pkg-plist 14 Sep 2005 15:13:50 -0000
@@ -1,4 +1,4 @@
bin/finger
-bin/pfinger
+%%WITHOUT_X11%%bin/pfinger
sbin/fingerd
sbin/in.fingerd
--- net::pfinger-WITHOUT_X11,0.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list