Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 May 2019 12:51:27 +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: r501092 - head/www/varnish-libvmod-maxminddb
Message-ID:  <201905091251.x49CpRAT090820@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Thu May  9 12:51:27 2019
New Revision: 501092
URL: https://svnweb.freebsd.org/changeset/ports/501092

Log:
  www/varnish-libvmod-maxminddb: fix build with GCC-based architectures
  
  Add USES=compiler:c11 to fix build:
  /usr/local/include/maxminddb.h:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mmdb_uint128_t'
  
  Approved by:	mentors (implicit approval)

Modified:
  head/www/varnish-libvmod-maxminddb/Makefile

Modified: head/www/varnish-libvmod-maxminddb/Makefile
==============================================================================
--- head/www/varnish-libvmod-maxminddb/Makefile	Thu May  9 12:46:03 2019	(r501091)
+++ head/www/varnish-libvmod-maxminddb/Makefile	Thu May  9 12:51:27 2019	(r501092)
@@ -14,7 +14,8 @@ BUILD_DEPENDS=	rst2man:textproc/py-docutils
 
 LIB_DEPENDS=	libmaxminddb.so:net/libmaxminddb
 
-USES=		autoreconf gmake libtool pkgconfig python:2.7,build varnish
+USES=		autoreconf compiler:c11 gmake libtool pkgconfig \
+		python:2.7,build varnish
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-static
 INSTALL_TARGET=	install-strip



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