ports/110761: [patch] port www/webalizer: geolizer patch doesn't work anymore
Leonhard Wimmer
leo at winf.at
Sat Mar 24 13:50:04 UTC 2007
>Number: 110761
>Category: ports
>Synopsis: [patch] port www/webalizer: geolizer patch doesn't work anymore
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Mar 24 13:50:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Leonhard Wimmer
>Release: FreeBSD 6.2-RELEASE-p3 i386
>Organization:
private
>Environment:
FreeBSD 6.2-RELEASE-p3 i386
current ports tree
>Description:
The webalizer port has a WITH_GEOIP option to add the geolizer
patch. If this option is used, the parameter '--enable-geoip' is added
to configure, but for some strange reason '--enable-geoip' *disables*
the GeoIP patch. So if '--enable-geoip' is omitted the port is built
correctly.
>How-To-Repeat:
Build the port www/geolizer and notice that it isn't built with the
geolizer patch. To verify that webalizer was built with the geolizer
patch, look at the output of 'ldd `which webalizer`'. It should
contain a line similar to 'libGeoIP.so.5 => /usr/local/lib/libGeoIP.so.5 (0x28097000)'.
>Fix:
apply the attached patch
Patch attached with submission follows:
--- Makefile.orig Sat Mar 10 18:04:07 2007
+++ Makefile Sat Mar 24 13:57:58 2007
@@ -48,8 +48,7 @@
EXTRA_PATCHES+= ${FILESDIR}/output.geo.patch
EXTRA_PATCHES+= ${FILESDIR}/linklist.geo.patch
PATCH_STRIP= -p1
-CONFIGURE_ARGS+= --enable-geoip \
- --with-geoip-lib=${LOCALBASE}/lib \
+CONFIGURE_ARGS+= --with-geoip-lib=${LOCALBASE}/lib \
--with-geoip-inc=${LOCALBASE}/include
PLIST_SUB+= WITH_GEOIP=""
.else
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list