Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Sep 2018 21:38:38 +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: r480114 - in head: archivers/laszip devel/cpp-netlib devel/icestorm devel/libcjson emulators/vice net/libstorj
Message-ID:  <201809192138.w8JLccbF016965@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Wed Sep 19 21:38:38 2018
New Revision: 480114
URL: https://svnweb.freebsd.org/changeset/ports/480114

Log:
  Fix building on gcc-based archs by upgrading USES.
  
  Tested on powerpc64 and amd64 (for no regression).
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/archivers/laszip/Makefile
  head/devel/cpp-netlib/Makefile
  head/devel/icestorm/Makefile
  head/devel/libcjson/Makefile
  head/emulators/vice/Makefile
  head/net/libstorj/Makefile

Modified: head/archivers/laszip/Makefile
==============================================================================
--- head/archivers/laszip/Makefile	Wed Sep 19 21:33:18 2018	(r480113)
+++ head/archivers/laszip/Makefile	Wed Sep 19 21:38:38 2018	(r480114)
@@ -11,7 +11,7 @@ COMMENT=	Library for lossless LAS compression
 LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		cmake
+USES=		cmake compiler:c++0x
 USE_LDCONFIG=	yes
 
 USE_GITHUB=	yes

Modified: head/devel/cpp-netlib/Makefile
==============================================================================
--- head/devel/cpp-netlib/Makefile	Wed Sep 19 21:33:18 2018	(r480113)
+++ head/devel/cpp-netlib/Makefile	Wed Sep 19 21:38:38 2018	(r480114)
@@ -17,9 +17,7 @@ LICENSE_FILE=		${WRKSRC}/LICENSE_1_0.txt
 BUILD_DEPENDS=		boost-libs>0:devel/boost-libs \
 					asio>0:net/asio
 
-BROKEN_powerpc64=	fails to compile: cc1plus: error: unrecognized command line option "-std=c++11"
-
-USES=			cmake:outsource
+USES=			cmake:outsource compiler:c++11-lang
 USE_LDCONFIG=		yes
 CFLAGS+=	-fPIC
 CMAKE_ARGS+=		-DCPP-NETLIB_BUILD_EXAMPLES=OFF \

Modified: head/devel/icestorm/Makefile
==============================================================================
--- head/devel/icestorm/Makefile	Wed Sep 19 21:33:18 2018	(r480113)
+++ head/devel/icestorm/Makefile	Wed Sep 19 21:38:38 2018	(r480114)
@@ -13,7 +13,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libftdi1.so:devel/libftdi1
 
-USES=		gmake python:3.3+ shebangfix pkgconfig
+USES=		compiler:c++11-lang gmake pkgconfig python:3.3+ shebangfix
 SHEBANG_FILES=	${WRKSRC}/icebox/*.py \
 		${WRKSRC}/icebox/Makefile
 

Modified: head/devel/libcjson/Makefile
==============================================================================
--- head/devel/libcjson/Makefile	Wed Sep 19 21:33:18 2018	(r480113)
+++ head/devel/libcjson/Makefile	Wed Sep 19 21:38:38 2018	(r480114)
@@ -13,7 +13,7 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 CMAKE_ON=	BUILD_SHARED_AND_STATIC_LIBS ENABLE_CJSON_UTILS ENABLE_TARGET_EXPORT
-USES=		cmake
+USES=		cmake compiler:c11
 
 PLIST_SUB=	PORTVERSION=${PORTVERSION}
 

Modified: head/emulators/vice/Makefile
==============================================================================
--- head/emulators/vice/Makefile	Wed Sep 19 21:33:18 2018	(r480113)
+++ head/emulators/vice/Makefile	Wed Sep 19 21:38:38 2018	(r480114)
@@ -32,7 +32,7 @@ LIB_DEPENDS=	libpng.so:graphics/png \
 
 RESTRICTED=	ROMs are copyrighted by Commodore Business Machines
 
-USES=		pkgconfig makeinfo gmake iconv jpeg
+USES=		compiler:c++11-lang pkgconfig makeinfo gmake iconv jpeg
 USE_XORG=	xpm ice sm xext xv xt x11 xmu xxf86vm
 USE_XORG+=	xrender xinerama xi xrandr xcursor xcomposite xdamage xfixes
 GNU_CONFIGURE=	yes

Modified: head/net/libstorj/Makefile
==============================================================================
--- head/net/libstorj/Makefile	Wed Sep 19 21:33:18 2018	(r480113)
+++ head/net/libstorj/Makefile	Wed Sep 19 21:38:38 2018	(r480114)
@@ -16,7 +16,6 @@ BROKEN_armv6=		fails to build: invokes x86 assembler
 BROKEN_armv7=		fails to build: invokes x86 assembler
 BROKEN_mips=		fails to build: invokes x86 assembler
 BROKEN_mips64=		fails to build: invokes x86 assembler
-BROKEN_powerpc64=	fails to compile: storj.c:135: 'for' loop initial declaration used outside C99 mode
 
 LIB_DEPENDS=	libjson-c.so:devel/json-c \
 		libuv.so:devel/libuv \
@@ -25,6 +24,7 @@ LIB_DEPENDS=	libjson-c.so:devel/json-c \
 		libmicrohttpd.so:www/libmicrohttpd
 
 USES=		autoreconf gmake libtool localbase pkgconfig
+USE_CSTD=	gnu99
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	Storj



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