aboutsummaryrefslogtreecommitdiffstats
path: root/devel/fuzzylite
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2019-02-21 12:20:43 +0800
committerlinimon <linimon@FreeBSD.org>2019-02-21 12:20:43 +0800
commit4cc114567275bd01f2c1af960a4e132655f76a32 (patch)
tree203465efa40b04c4a215351584f54cb5ee8f379e /devel/fuzzylite
parent7352b7dd030640d6e6881c601d2757f71e58523a (diff)
downloadfreebsd-ports-gnome-4cc114567275bd01f2c1af960a4e132655f76a32.tar.gz
freebsd-ports-gnome-4cc114567275bd01f2c1af960a4e132655f76a32.tar.zst
freebsd-ports-gnome-4cc114567275bd01f2c1af960a4e132655f76a32.zip
Add USES=compiler:c++11-lang to fix build on GCC-based architectures.
Use CMAKE_OFF instead of CMAKE_ARGS. Don't check for Clang versions lower than 3.9. PR: 235709 Submitted by: maintainer
Diffstat (limited to 'devel/fuzzylite')
-rw-r--r--devel/fuzzylite/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/devel/fuzzylite/Makefile b/devel/fuzzylite/Makefile
index 86625440b227..b7750c69d4e7 100644
--- a/devel/fuzzylite/Makefile
+++ b/devel/fuzzylite/Makefile
@@ -11,20 +11,17 @@ COMMENT= Fuzzy logic control library in C++
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-BROKEN_powerpc64= fails to compile: unrecognized command line option "-Wno-type-limits"
-
-USES= cmake compiler
+USES= cmake compiler:c++11-lang
USE_GITHUB= yes
USE_LDCONFIG= yes
-CMAKE_ARGS= -DFL_BUILD_STATIC:BOOL=OFF \
- -DFL_BUILD_TESTS:BOOL=OFF
+CMAKE_OFF= FL_BUILD_STATIC FL_BUILD_TESTS
CMAKE_SOURCE_PATH= ${WRKSRC}/${PORTNAME}
PLIST_SUB= SHLIB_VER=${DISTVERSION}
.include <bsd.port.pre.mk>
-.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 39
+.if ${COMPILER_TYPE} == clang
CFLAGS+= -Wno-error=varargs
.endif