ports/60373: Enable GTK2 bindings for jpilot port
Alex Varju
varju at webct.com
Thu Dec 18 18:50:26 UTC 2003
>Number: 60373
>Category: ports
>Synopsis: Enable GTK2 bindings for jpilot port
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu Dec 18 10:50:22 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Alex Varju
>Release: FreeBSD 5.1-RELEASE-p10 i386
>Organization:
WebCT
>Environment:
System: FreeBSD snapple.webct.com 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #7: Fri Oct 17 20:52:35 PDT 2003 varju at snapple.webct.com:/usr/obj/usr/src/sys/SNAPPLE i386
>Description:
Enable GTK2 bindings for the jpilot port (when WITH_GTK2 is defined).
This is based on a patch sent to me by Martin Lefebvre
<martin at diginex.net>.
This is a non-critical update, so I have not bumped PORTREVISION.
>How-To-Repeat:
>Fix:
Index: palm/jpilot/Makefile
===================================================================
RCS file: /home/freebsd/cvsroot/ports/palm/jpilot/Makefile,v
retrieving revision 1.35
diff -u -r1.35 Makefile
--- palm/jpilot/Makefile 10 Oct 2003 07:17:34 -0000 1.35
+++ palm/jpilot/Makefile 18 Dec 2003 18:23:32 -0000
@@ -18,11 +18,17 @@
LIB_DEPENDS= pisock.8:${PORTSDIR}/palm/pilot-link \
intl.5:${PORTSDIR}/devel/gettext
+CONFIGURE_ARGS+= --with-pilot-prefix=${PREFIX}
+.if defined(WITH_GTK2)
+USE_GNOME= gtk20
+CONFIGURE_ARGS+= --enable-gtk2=yes
+.else
USE_GNOME= gtk12
+.endif
+
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib/jpilot/plugins
-CONFIGURE_ARGS+= --with-pilot-prefix=${PREFIX}
CFLAGS+= -I${PREFIX}/include
CONFIGURE_ENV+= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list