mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 01:09:24 -04:00
- use OPTIONS_SINGLE
This commit is contained in:
parent
0f706fd2df
commit
90dcfbcd41
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=469191
1 changed files with 3 additions and 7 deletions
|
@ -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}
|
||||
|
@ -65,10 +65,6 @@ 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
|
||||
.endif
|
||||
|
|
Loading…
Add table
Reference in a new issue