svn commit: r493487 - head/devel/fuzzylite
Mark Linimon
linimon at FreeBSD.org
Thu Feb 21 04:20:44 UTC 2019
Author: linimon
Date: Thu Feb 21 04:20:43 2019
New Revision: 493487
URL: https://svnweb.freebsd.org/changeset/ports/493487
Log:
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
Modified:
head/devel/fuzzylite/Makefile
Modified: head/devel/fuzzylite/Makefile
==============================================================================
--- head/devel/fuzzylite/Makefile Thu Feb 21 04:16:16 2019 (r493486)
+++ head/devel/fuzzylite/Makefile Thu Feb 21 04:20:43 2019 (r493487)
@@ -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
More information about the svn-ports-all
mailing list