1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00

www/geolizer: fix build with GCC-based architectures

Add USES=compiler:c++11-lang to www/webalizer when using GEOIP option:
/usr/local/include/maxminddb.h:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mmdb_uint128_t'
/usr/local/include/maxminddb.h:122: error: expected specifier-qualifier-list before 'mmdb_uint128_t'

Approved by:	mentors (implicit approval)
This commit is contained in:
Piotr Kubaj 2019-05-17 12:07:03 +00:00
parent bba9bc0881
commit 5b173cb2b7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=501859

View File

@ -53,6 +53,7 @@ GEOIP_CONFIGURE_ON= --enable-geoip \
--with-geoip-lib=${LOCALBASE}/lib \
--with-geoip-inc=${LOCALBASE}/include
GEOIP_LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb
GEOIP_USES= compiler:c++11-lang
BDB1_CFLAGS= -DUSE_DB185
BDB_USES= bdb
BDB_LDFLAGS= -L${BDB_LIB_DIR}