app-admin/webalizer-xtended-2.01.10_p21 with use=geoip fails to build. ==================================================================== checking for gdImagePng in -lgd... yes checking for gd.h... /usr/include checking for GeoIP.h... /usr/include checking for libGeoIP.a... no configure: error: GeoIP library not found... please install GeoIP. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/app-admin/webalizer-xtended-2.01.10_p21/work/webalizer-2.01-10/config.log * ERROR: app-admin/webalizer-xtended-2.01.10_p21 failed (configure phase): * econf failed ==================================================================== Oddly, I do have dev-libs/geoip-1.4.8 installed.... Reproducible: Always
It's merely looking for the wrong library. It's never going to use the static library but still it wants to find it. I'm looking at a tiny patch that might fix this. Also, dev-libs/geoip lost its static libs a good while back: *geoip-1.4.7 (19 Apr 2011) 19 Apr 2011; Jeroen Roovers <jer@gentoo.org> +geoip-1.4.7.ebuild: Version bump thanks to euscan. Add USE=static-libs. Patch: --- webalizer-xtended-2.01.10_p21.ebuild 13 Oct 2010 12:11:32 -0000 1.2 +++ webalizer-xtended-2.01.10_p21.ebuild 16 Feb 2012 01:26:59 -0000 @@ -51,6 +51,8 @@ epatch "${FILESDIR}"/${P}-etc-webalizer-xtended-conf.patch epatch "${FILESDIR}"/${P}-strip.patch + sed -i configure.in -e 's|\.a|.so|g' || die + eautoreconf } This should probably be converted to a real $FILESDIR/*.patch in case there's a version bump where \.a could be used differently.
OK, I've committed -r1, which has a patch instead of that sed script. So sync and try, please.
-r1 works great! Thanks!