freebsd-ports/devel/php-maxminddb/Makefile
Piotr Kubaj 2d613c4286 php-maxminddb: fix build with GCC-based architectures
Add USES=compiler:c11 to fix build:
/wrkdirs/usr/ports/devel/php-maxminddb/work-php71/MaxMind-DB-Reader-php-1.1.0/ext/maxminddb.c:430: error: 'MMDB_entry_data_s' has no member named 'uint128'
/wrkdirs/usr/ports/devel/php-maxminddb/work-php71/MaxMind-DB-Reader-php-1.1.0/ext/maxminddb.c:431: error: 'MMDB_entry_data_s' has no member named 'uint128'

Approved by:	mentors (implicit approval)
2019-05-01 20:49:25 +00:00

27 lines
535 B
Makefile

# Created by: Daniel Gerzo <danger@FreeBSD.org>
# $FreeBSD$
PORTNAME= maxminddb
PORTVERSION= 1.1.0
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= devel net
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
MAINTAINER= danger@FreeBSD.org
COMMENT= MaxMind DB Reader extension for PHP
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/../LICENSE
LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb
USE_GITHUB= yes
GH_ACCOUNT= maxmind
GH_PROJECT= MaxMind-DB-Reader-php
WRKSRC_SUBDIR= ext
USES= compiler:c11 php:ext localbase:ldflags
.include <bsd.port.mk>