From nobody@FreeBSD.org  Sat Mar 24 13:43:04 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 5A2E516A401
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 24 Mar 2007 13:43:04 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 4A5E113C448
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 24 Mar 2007 13:43:04 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l2ODh25R049889
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 24 Mar 2007 13:43:02 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l2ODc0JT024506;
	Sat, 24 Mar 2007 13:38:00 GMT
	(envelope-from nobody)
Message-Id: <200703241338.l2ODc0JT024506@www.freebsd.org>
Date: Sat, 24 Mar 2007 13:38:00 GMT
From: Leonhard Wimmer<leo@winf.at>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] port www/webalizer: geolizer patch doesn't work anymore
X-Send-Pr-Version: www-3.0

>Number:         110761
>Category:       ports
>Synopsis:       [patch] port www/webalizer: geolizer patch doesn't work anymore
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    dinoex
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 24 13:50:03 GMT 2007
>Closed-Date:    Sun Mar 25 13:53:12 CEST 2007
>Last-Modified:  Sun Mar 25 13:53:12 CEST 2007
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->dinoex 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Mar 24 13:50:11 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=110761 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/110761: commit references a PR
Date: Sun, 25 Mar 2007 11:44:30 +0000 (UTC)

 dinoex      2007-03-25 11:44:24 UTC
 
   FreeBSD ports repository
 
   Modified files:
     www/webalizer        Makefile 
   Log:
   - fix option WITH_GEOIP
   PR:             110761
   Submitted by:   Leonhard Wimmer
   
   Revision  Changes    Path
   1.57      +10 -6     ports/www/webalizer/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: dinoex 
State-Changed-When: Sun Mar 25 13:52:33 CEST 2007 
State-Changed-Why:  
I committed a different fix, thanks for reporting 

http://www.freebsd.org/cgi/query-pr.cgi?pr=110761 
>Unformatted:
