Added a patch to fix the -I/usr/include issue. Cleaned up ebuild.
authorNick Hadaway <raker@gentoo.org>
Tue, 8 Oct 2002 15:44:57 +0000 (15:44 +0000)
committerNick Hadaway <raker@gentoo.org>
Tue, 8 Oct 2002 15:44:57 +0000 (15:44 +0000)
net-mail/fetchmail/ChangeLog
net-mail/fetchmail/fetchmail-6.1.0.ebuild

index 10f1e6c05d8f0759d72feb6e50a5e9a75f0131f2..981fdcf67358c9a485654ecf3ce294a4d4e88eb6 100644 (file)
@@ -1,8 +1,13 @@
 # ChangeLog for net-mailfetchmailChangeLog/
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/ChangeLog,v 1.7 2002/10/01 09:11:50 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/ChangeLog,v 1.8 2002/10/08 15:44:57 raker Exp $
 
 *fetchmail-6.1.0 (01 Oct 2002)
+
+  08 Oct 2002; Nick Hadaway <raker@gentoo.org> fetchmail-6.1.0.ebuild :
+  Added a patch to remove /usr/include warning messages if ssl is
+  enabled. 
+
   01 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> :
   Security update.
 
index fa104c5f31756e8d07d8ff22a933aeb9647c34a9..ed2a06d935da690f817afa6004310d780c59e8be 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/fetchmail-6.1.0.ebuild,v 1.3 2002/10/05 05:39:23 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/fetchmail-6.1.0.ebuild,v 1.4 2002/10/08 15:44:57 raker Exp $
 
 IUSE="ssl nls"
 
@@ -11,8 +11,9 @@ HOMEPAGE="http://www.tuxedo.org/~esr/fetchmail/"
 SRC_URI="http://www.tuxedo.org/~esr/fetchmail/${P}.tar.gz"
         
 DEPEND="virtual/glibc
-       ssl? ( >=dev-libs/openssl-0.9.6 )"
-RDEPEND="nls? ( sys-devel/gettext )"
+       ssl? ( >=dev-libs/openssl-0.9.6 )
+       nls? ( sys-devel/gettext )"
+RDEPEND="${DEPEND}"
 
 SLOT="0"
 LICENSE="GPL-2 public-domain"
@@ -22,12 +23,15 @@ src_compile() {
 
        local myconf
 
-       use ssl && myconf="${myconf} --with-ssl=/usr"
+       use ssl && myconf="${myconf} --with-ssl=/usr" \
+               || myconf="${myconf} --without-ssl"
 
-       use nls || myconf="${myconf} --disable-nls"
+       use nls && myconf="${myconf} --enable-nls" \
+               || myconf="${myconf} --disable-nls"
 
        # This needs inet6-apps, which we don't have
-       #use ipv6 && myconf="{myconf} --enable-inet6"
+       #use ipv6 && myconf="${myconf} --enable-inet6 --enable-netsec"
+       #       || myconf="${myconf} --disable-inet6 --disable-netsec"
 
        econf \
                --enable-RPA \
@@ -35,6 +39,9 @@ src_compile() {
                --enable-SDPS \
                ${myconf} || die "Configuration failed."
 
+       use ssl && \
+       patch -p1 < ${FILESDIR}/${P}-gentoo.diff || die "patch failed"
+
        emake || die "Compilation failed."
 
 }