aboutsummaryrefslogtreecommitdiffstats
path: root/www/webalizer
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2005-09-05 19:58:31 +0800
committerdinoex <dinoex@FreeBSD.org>2005-09-05 19:58:31 +0800
commitca8838422673a3e4dfdd27df34d429b406465cda (patch)
tree7d7b4129888d79e253350b12217843110205b0ea /www/webalizer
parentc8f0f79fab5ab1d3d2857aedf283133ed14471d5 (diff)
downloadfreebsd-ports-gnome-ca8838422673a3e4dfdd27df34d429b406465cda.tar.gz
freebsd-ports-gnome-ca8838422673a3e4dfdd27df34d429b406465cda.tar.zst
freebsd-ports-gnome-ca8838422673a3e4dfdd27df34d429b406465cda.zip
- fix geolizer option
Submitted by: Andrey Chernov
Diffstat (limited to 'www/webalizer')
-rw-r--r--www/webalizer/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/www/webalizer/Makefile b/www/webalizer/Makefile
index 3cc38d55ff0c..f5acaebb02f8 100644
--- a/www/webalizer/Makefile
+++ b/www/webalizer/Makefile
@@ -45,6 +45,9 @@ EXTRA_PATCHES+= ${WRKDIR}/geolizer_2.01-10-patch/geolizer.patch
EXTRA_PATCHES+= ${FILESDIR}/output.geo.patch
EXTRA_PATCHES+= ${FILESDIR}/linklist.geo.patch
PATCH_STRIP= -p1
+CONFIGURE_ARGS+= --enable-geoip \
+ --with-geoip-lib=${LOCALBASE}/lib \
+ --with-geoip-inc=${LOCALBASE}/include
PLIST_SUB+= WITH_GEOIP=""
.else
CONFLICTS+= ${PKGNAMEPREFIX}webalizer-geoip-2*
@@ -62,11 +65,11 @@ WEBALIZER_LANG?=english
CONFIGURE_ARGS+= --enable-dns \
--with-etcdir=${PREFIX}/etc \
- --with-gdlib=${PREFIX}/lib \
- --with-gd=${PREFIX}/include
+ --with-gdlib=${LOCALBASE}/lib \
+ --with-gd=${LOCALBASE}/include
+
CONFIGURE_ENV+= LDFLAGS="-L${PREFIX}/lib"
CFLAGS+= -DLINKLIST_MAX_STRING=256
-MAKE_ARGS+= CFLAGS="${CFLAGS}"
MAN1= ${PKGNAMEPREFIX}webalizer.1
DOC1= CHANGES Copyright INSTALL \
README README.FIRST DNS.README country-codes.txt
@@ -97,7 +100,7 @@ USE_ICONV=yes
EXTRA_PATCHES+= ${FILESDIR}/webalizer-a-urasim_2.patch
CONFIGURE_ARGS+= --enable-mininls
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib -liconv"
-CFLAGS+= -I${PREFIX}/include
+CFLAGS+= -I${LOCALBASE}/include
.endif
pre-configure: