aboutsummaryrefslogtreecommitdiff
path: root/www/mod_geoip
diff options
context:
space:
mode:
authorSean Chittenden <seanc@FreeBSD.org>2003-05-16 18:14:06 +0000
committerSean Chittenden <seanc@FreeBSD.org>2003-05-16 18:14:06 +0000
commitd6e0250678400cac81a8aa7be33fea225ca7301a (patch)
tree37082158e051ffaa9f8dcddf9fe41fc21e3bf918 /www/mod_geoip
parent6b476f25baf2767f7835f5778d4e81b691ff9c90 (diff)
downloadports-d6e0250678400cac81a8aa7be33fea225ca7301a.tar.gz
ports-d6e0250678400cac81a8aa7be33fea225ca7301a.zip
Notes
Diffstat (limited to 'www/mod_geoip')
-rw-r--r--www/mod_geoip/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/mod_geoip/Makefile b/www/mod_geoip/Makefile
index f6977bc14749..3c9d88bf625c 100644
--- a/www/mod_geoip/Makefile
+++ b/www/mod_geoip/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mod_geoip
PORTVERSION= 1.1.1
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.maxmind.com/download/geoip/api/mod_geoip/
DISTNAME= ${PORTNAME}_${PORTVERSION}
@@ -16,7 +17,7 @@ COMMENT= An Apache module that provides the country code of the client's IP
BUILD_DEPENDS= ${APXS}:${APACHE_PORT}
RUN_DEPENDS= ${APXS}:${APACHE_PORT}
-LIB_DEPENDS= GeoIP.2:${PORTSDIR}/net/GeoIP
+LIB_DEPENDS= GeoIP.3:${PORTSDIR}/net/GeoIP
APXS?= ${LOCALBASE}/sbin/apxs
APACHE_PORT?= ${PORTSDIR}/www/apache13
@@ -25,7 +26,7 @@ DOCS= Changes INSTALL README README.php
do-build:
@cd ${WRKSRC} && \
- ${APXS} -c -L${LOCALBASE}/lib -I${LOCALBASE}/include mod_geoip.c
+ ${APXS} -c -L${LOCALBASE}/lib -I${LOCALBASE}/include -lGeoIP mod_geoip.c
do-install:
${APXS} -i -A -n geoip ${WRKSRC}/mod_geoip.so