depend on the specific required GeoIP version

This commit is contained in:
sthen 2011-05-19 21:15:32 +00:00
parent 8870927e66
commit 7a3b2e7274
2 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.21 2011/05/12 15:35:17 giovanni Exp $
# $OpenBSD: Makefile,v 1.22 2011/05/19 21:17:08 sthen Exp $
SHARED_ONLY= Yes
@ -6,6 +6,7 @@ COMMENT= look up country by IP address/hostname
MODULES= cpan
DISTNAME= Geo-IP-1.39
REVISION= 0
CPAN_AUTHOR= BORISZ
CATEGORIES= net geo
@ -15,7 +16,7 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
LIB_DEPENDS= net/GeoIP
LIB_DEPENDS= net/GeoIP>=1.4.7
WANTLIB = GeoIP>=8
CONFIGURE_ARGS= LIBS='-L${LOCALBASE}/lib' INC='-I${LOCALBASE}/include'

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.7 2011/05/12 15:33:59 giovanni Exp $
# $OpenBSD: Makefile,v 1.8 2011/05/19 21:15:32 sthen Exp $
COMMENT = GeoIP Python API
MODPY_EGG_VERSION = 1.2.5
REVISION = 0
DISTNAME = GeoIP-Python-${MODPY_EGG_VERSION}
PKGNAME = py-GeoIP-${MODPY_EGG_VERSION}
CATEGORIES = net
@ -21,7 +22,7 @@ MASTER_SITES = http://geolite.maxmind.com/download/geoip/api/python/
MODULES = lang/python
LIB_DEPENDS = net/GeoIP
LIB_DEPENDS = net/GeoIP>=1.4.7
WANTLIB = GeoIP>=8
EXAMPLEDIR = ${PREFIX}/share/examples/py-GeoIP