diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2003-12-19 00:37:11 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2003-12-19 00:37:11 +0000 |
commit | baae9c9a1b507d91068db214791ba6ba77cb8f0d (patch) | |
tree | 2375c68e8eaf3b0c4179447079fc205756957410 /palm | |
parent | f69bce39e6006c99e6954d1bd73e78e7e2981008 (diff) | |
download | ports-baae9c9a1b507d91068db214791ba6ba77cb8f0d.tar.gz ports-baae9c9a1b507d91068db214791ba6ba77cb8f0d.zip |
- Add optional GTK2 support.
PR: ports/60373
Submitted by: Alex Varju <varju@webct.com> (maintainer)
Notes
Notes:
svn path=/head/; revision=96175
Diffstat (limited to 'palm')
-rw-r--r-- | palm/jpilot/Makefile | 8 |
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" |