Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2019 04:20:43 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r493487 - head/devel/fuzzylite
Message-ID:  <201902210420.x1L4KhDK034817@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



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