Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Mar 2007 13:38:00 GMT
From:      Leonhard Wimmer<leo@winf.at>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/110761: [patch] port www/webalizer: geolizer patch doesn't work anymore
Message-ID:  <200703241338.l2ODc0JT024506@www.freebsd.org>
Resent-Message-ID: <200703241350.l2ODo4S8055939@freefall.freebsd.org>

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

>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:



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