svn commit: r469191 - head/www/webalizer
Dirk Meyer
dinoex at FreeBSD.org
Sun May 6 11:09:01 UTC 2018
Author: dinoex
Date: Sun May 6 11:09:00 2018
New Revision: 469191
URL: https://svnweb.freebsd.org/changeset/ports/469191
Log:
- use OPTIONS_SINGLE
Modified:
head/www/webalizer/Makefile
Modified: head/www/webalizer/Makefile
==============================================================================
--- head/www/webalizer/Makefile Sun May 6 11:04:30 2018 (r469190)
+++ head/www/webalizer/Makefile Sun May 6 11:09:00 2018 (r469191)
@@ -31,11 +31,13 @@ CONFLICTS= geolizer-2*
WEBALIZER_LANG?=english
.endif
-OPTIONS_DEFINE= GEOIP GEODB BDB1 BDB WEBALIZER_CONV \
+OPTIONS_DEFINE= GEOIP GEODB WEBALIZER_CONV \
FULL_CGI_REFS CLICKABLE_REFERER \
IP_AS_HOSTNAME LARGE_URL \
DOCS EXAMPLES
OPTIONS_DEFAULT?= BDB1
+OPTIONS_SINGLE= DB
+OPTIONS_SINGLE_DB= BDB1 BDB
NO_OPTIONS_SORT=yes
OPTIONS_SUB=yes
GEODB_DESC=Enable Webalizers IP-Database support
@@ -49,9 +51,7 @@ GEOIP_CONFIGURE_ON= --enable-geoip \
--with-geoip-lib=${LOCALBASE}/lib \
--with-geoip-inc=${LOCALBASE}/include
GEOIP_LIB_DEPENDS= libGeoIP.so:net/GeoIP
-BDB1_PREVENTS= BDB
BDB1_CFLAGS= -DUSE_DB185
-BDB_PREVENTS= BDB1
BDB_USES= bdb
BDB_LDFLAGS= -L${BDB_LIB_DIR}
BDB_CFLAGS= -I${BDB_INCLUDE_DIR}
@@ -64,10 +64,6 @@ CLICKABLE_REFERER_CFLAGS= -DUSE_CLICKABLE_REFERER
IP_AS_HOSTNAME_CFLAGS= -DUSE_IP_AS_HOSTNAME
.include <bsd.port.options.mk>
-
-.if empty(PORT_OPTIONS:MBDB) && empty(PORT_OPTIONS:MBDB1)
-OPTIONS_WRONG_RADIO= BDB BDB1
-.endif
.if ${PORT_OPTIONS:MGEODB} || ${PORT_OPTIONS:MGEOIP} || make(makesum) || defined(FETCH_ALL)
DISTFILES+= webalizer-flags.tgz:main
More information about the svn-ports-head
mailing list