Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14643 - fetchmail 6.2.1 ebuild always builds ipv6 support
Summary: fetchmail 6.2.1 ebuild always builds ipv6 support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-27 15:53 UTC by Benjamin Ritcey
Modified: 2003-01-28 03:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Ritcey 2003-01-27 15:53:34 UTC
It appears that the way the ebuild is written, ipv6 support is always included
in fetchmail (I noticed a bunch of extra DNS AAAA-record lookups).  It seems
that the opposite of '--enable-inet6' is not to have anything (instead of
'--disable-inet6').  Just adding the '--disable-inet6' seems to be enough to
have ipv6 support included.  The flags for ssl & nls appear to function the same
way.

Here's a quick patch:

--- fetchmail-6.2.1.ebuild	2003-01-27 16:41:05.000000000 -0500
+++ fetchmail-6.2.1-r1.ebuild	2003-01-27 16:43:41.000000000 -0500
@@ -24,14 +24,13 @@
 
 src_compile() {
 	local myconf
-	use ssl && myconf="${myconf} --with-ssl=/usr" \
-		|| myconf="${myconf} --without-ssl"
+	use ssl && myconf="${myconf} --with-ssl=/usr" 
+
+	use nls || myconf="${myconf} --disable-nls" 
+
+	use ipv6 && myconf="${myconf} --enable-inet6" 
 
-	use nls && myconf="${myconf} --enable-nls" \
-		|| myconf="${myconf} --disable-nls"
 
-	use ipv6 && myconf="${myconf} --enable-inet6" \
-		|| myconf="${myconf} --disable-inet6"
 		
 	econf \
 		--enable-RPA \
Comment 1 Nick Hadaway 2003-01-28 03:17:05 UTC
I have added -r1 to portage with your suggested changes.  Thanks
for noting the finer details.