aboutsummaryrefslogtreecommitdiffstats
path: root/palm
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2003-12-19 08:37:11 +0800
committerpav <pav@FreeBSD.org>2003-12-19 08:37:11 +0800
commit20a3fd8210197c47631b65832004c5195e0e79c7 (patch)
tree7ae91dee2b259a59713bd644529d7adfc28e3571 /palm
parent19e8ba56acbd16e6b14fd5051a701630b9e692ab (diff)
downloadfreebsd-ports-gnome-20a3fd8210197c47631b65832004c5195e0e79c7.tar.gz
freebsd-ports-gnome-20a3fd8210197c47631b65832004c5195e0e79c7.tar.zst
freebsd-ports-gnome-20a3fd8210197c47631b65832004c5195e0e79c7.zip
- Add optional GTK2 support.
PR: ports/60373 Submitted by: Alex Varju <varju@webct.com> (maintainer)
Diffstat (limited to 'palm')
-rw-r--r--palm/jpilot/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/palm/jpilot/Makefile b/palm/jpilot/Makefile
index fab0b52b9559..9cd969794470 100644
--- a/palm/jpilot/Makefile
+++ b/palm/jpilot/Makefile
@@ -18,11 +18,17 @@ COMMENT= Desktop Organizer Software for the Palm Pilot
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"