Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Dec 2001 19:05:13 +0200
From:      Peter Pentchev <roam@ringlet.net>
To:        gnome@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   mail/evolution WITHOUT_PILOT patch
Message-ID:  <20011216190513.A571@straylight.oblivion.bg>

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

What do y'all think about the following patch to the mail/evolution port,
which disables gnome-pilot support and removes the relevant dependencies
for those of us who will certainly not need the support in the near future? :)

And btw.. is there a reason why the libemail_conduit.so
dependency was not marked as a LIB_DEPENDS?

G'luck,
Peter

-- 
If the meanings of 'true' and 'false' were switched, then this sentence wouldn't be false.

Index: ports/mail/evolution/Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/evolution/Makefile,v
retrieving revision 1.43
diff -u -r1.43 Makefile
--- ports/mail/evolution/Makefile	15 Dec 2001 04:40:13 -0000	1.43
+++ ports/mail/evolution/Makefile	16 Dec 2001 17:00:45 -0000
@@ -17,11 +17,15 @@
 
 MAINTAINER=	gnome@FreeBSD.org
 
+.if !defined(WITHOUT_PILOT)
 BUILD_DEPENDS=	${X11BASE}/lib/gnome-pilot/conduits/libemail_conduit.so:${PORTSDIR}/palm/gnomepilot-conduits
+.endif
 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)
 RUN_DEPENDS=	${X11BASE}/lib/gnome-pilot/conduits/libemail_conduit.so:${PORTSDIR}/palm/gnomepilot-conduits
+.endif
 
 #BROKEN=		"Out of sync with latest gal"
 
@@ -35,8 +39,10 @@
 		--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
+.endif
 CONFIGURE_ENV=	CPPFLAGS="-I${DB3_WRKSRC} -I${LOCALBASE}/include" \
 		LIBS="-L${LOCALBASE}/lib"
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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