Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 May 2019 12:07:03 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r501859 - head/www/webalizer
Message-ID:  <201905171207.x4HC73vW098853@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Fri May 17 12:07:03 2019
New Revision: 501859
URL: https://svnweb.freebsd.org/changeset/ports/501859

Log:
  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)

Modified:
  head/www/webalizer/Makefile

Modified: head/www/webalizer/Makefile
==============================================================================
--- head/www/webalizer/Makefile	Fri May 17 12:06:35 2019	(r501858)
+++ head/www/webalizer/Makefile	Fri May 17 12:07:03 2019	(r501859)
@@ -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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905171207.x4HC73vW098853>