diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-12-17 11:34:52 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-12-17 11:34:52 +0000 |
commit | b96e685f54a0a479bbb2f49a4f9a4503174db441 (patch) | |
tree | 9f7ebc8677ad6f051703c3febac83c6b17e971ba /mail/evolution | |
parent | ea3709d0e0304372fc5292b9d5c9d6eb03da4fc9 (diff) | |
download | FreeBSD-ports-b96e685f54a0a479bbb2f49a4f9a4503174db441.zip FreeBSD-ports-b96e685f54a0a479bbb2f49a4f9a4503174db441.tar.gz |
Make pilot support optional (controllable via WITHOUT_PILOT make(1) variable).
Submitted by: roam
Diffstat (limited to 'mail/evolution')
-rw-r--r-- | mail/evolution/Makefile | 16 | ||||
-rw-r--r-- | mail/evolution/pkg-plist | 18 |
2 files changed, 21 insertions, 13 deletions
diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile index 2cdcccd..1d4c296 100644 --- a/mail/evolution/Makefile +++ b/mail/evolution/Makefile @@ -17,11 +17,13 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \ MAINTAINER= gnome@FreeBSD.org -BUILD_DEPENDS= ${X11BASE}/lib/gnome-pilot/conduits/libemail_conduit.so:${PORTSDIR}/palm/gnomepilot-conduits LIB_DEPENDS= bonobo_conf.0:${PORTSDIR}/devel/bonobo-conf #ldap.1:${PORTSDIR}/net/openldap <- avoid extra dependency until # it actually works +.if !defined(WITHOUT_PILOT) +BUILD_DEPENDS= ${X11BASE}/lib/gnome-pilot/conduits/libemail_conduit.so:${PORTSDIR}/palm/gnomepilot-conduits RUN_DEPENDS= ${X11BASE}/lib/gnome-pilot/conduits/libemail_conduit.so:${PORTSDIR}/palm/gnomepilot-conduits +.endif #BROKEN= "Out of sync with latest gal" @@ -35,12 +37,18 @@ CONFIGURE_ARGS= --with-db3-libs=${DB3_WRKSRC} \ --with-db3-includes=${DB3_WRKSRC} \ --with-html-dir=${PREFIX}/share/gnome/html \ --with-openssl-includes=${OPENSSLBASE}/include \ - --with-openssl-libs=${OPENSSLBASE}/lib \ - --with-pisock=${LOCALBASE}/pilot --enable-pilot-conduits=yes + --with-openssl-libs=${OPENSSLBASE}/lib +.if !defined(WITHOUT_PILOT) +CONFIGURE_ARGS+= --with-pisock=${LOCALBASE}/pilot \ + --enable-pilot-conduits=yes +PLIST_SUB= PILOT:="" +.else +PLIST_SUB= PILOT:="@comment " +.endif CONFIGURE_ENV= CPPFLAGS="-I${DB3_WRKSRC} -I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" -PLIST_SUB= VERSION=${PORTVERSION} +PLIST_SUB+= VERSION=${PORTVERSION} pre-patch: @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ diff --git a/mail/evolution/pkg-plist b/mail/evolution/pkg-plist index e85d67f..49db87d 100644 --- a/mail/evolution/pkg-plist +++ b/mail/evolution/pkg-plist @@ -198,12 +198,12 @@ lib/evolution/evolution-mail-importers/%%VERSION%%/libmbox.so.0 lib/evolution/evolution-mail-importers/%%VERSION%%/liboutlook.a lib/evolution/evolution-mail-importers/%%VERSION%%/liboutlook.so lib/evolution/evolution-mail-importers/%%VERSION%%/liboutlook.so.0 -lib/gnome-pilot/conduits/libeaddress_conduit.a -lib/gnome-pilot/conduits/libeaddress_conduit.so -lib/gnome-pilot/conduits/libecalendar_conduit.a -lib/gnome-pilot/conduits/libecalendar_conduit.so -lib/gnome-pilot/conduits/libetodo_conduit.a -lib/gnome-pilot/conduits/libetodo_conduit.so +%%PILOT:%%lib/gnome-pilot/conduits/libeaddress_conduit.a +%%PILOT:%%lib/gnome-pilot/conduits/libeaddress_conduit.so +%%PILOT:%%lib/gnome-pilot/conduits/libecalendar_conduit.a +%%PILOT:%%lib/gnome-pilot/conduits/libecalendar_conduit.so +%%PILOT:%%lib/gnome-pilot/conduits/libetodo_conduit.a +%%PILOT:%%lib/gnome-pilot/conduits/libetodo_conduit.so lib/libcal-client.a lib/libcal-client.so lib/libcal-client.so.0 @@ -322,9 +322,9 @@ share/gnome/evolution/views/mail/galview.xml share/gnome/evolution/views/tasks/Tasks.galview share/gnome/evolution/views/tasks/With_Category.galview share/gnome/evolution/views/tasks/galview.xml -share/gnome/gnome-pilot/conduits/e-address.conduit -share/gnome/gnome-pilot/conduits/e-calendar.conduit -share/gnome/gnome-pilot/conduits/e-todo.conduit +%%PILOT:%%share/gnome/gnome-pilot/conduits/e-address.conduit +%%PILOT:%%share/gnome/gnome-pilot/conduits/e-calendar.conduit +%%PILOT:%%share/gnome/gnome-pilot/conduits/e-todo.conduit share/gnome/help/evolution/C/apx-gloss.html share/gnome/help/evolution/C/authors.html share/gnome/help/evolution/C/bugs.html |