Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 2003 10:45:58 -0800 (PST)
From:      Alex Varju <varju@webct.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/60373: Enable GTK2 bindings for jpilot port
Message-ID:  <200312181845.hBIIjwGW029525@snapple.webct.com>
Resent-Message-ID: <200312181850.hBIIoNWG057596@freefall.freebsd.org>

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

>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@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@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:



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