summaryrefslogtreecommitdiff
path: root/archivers/zlib-ng/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/zlib-ng/Makefile')
-rw-r--r--archivers/zlib-ng/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/archivers/zlib-ng/Makefile b/archivers/zlib-ng/Makefile
index d143b4558d15..02767cd2c758 100644
--- a/archivers/zlib-ng/Makefile
+++ b/archivers/zlib-ng/Makefile
@@ -1,5 +1,5 @@
PORTNAME= zlib-ng
-DISTVERSION= 2.2.4
+DISTVERSION= 2.2.5
CATEGORIES= archivers
MAINTAINER= vvd@FreeBSD.org
@@ -11,15 +11,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.md
TEST_DEPENDS= googletest>=0:devel/googletest
-USES= cmake:testing compiler:c11
+USES= cmake:testing compiler:c++14-lang
USE_GITHUB= yes
USE_LDCONFIG= yes
-CMAKE_OFF= ZLIB_ENABLE_TESTS ZLIBNG_ENABLE_TESTS
-CMAKE_TESTING_ON= ZLIB_ENABLE_TESTS ZLIBNG_ENABLE_TESTS
-
-# error: use of undeclared identifier 'isascii'
-CFLAGS+= -D__XSI_VISIBLE
+CMAKE_OFF= WITH_GTEST ZLIB_ENABLE_TESTS ZLIBNG_ENABLE_TESTS
+CMAKE_TESTING_ON= WITH_GTEST ZLIB_ENABLE_TESTS ZLIBNG_ENABLE_TESTS
PLIST_SUB= SHLIB_VER=${DISTVERSION}