Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jun 2018 19:40:59 +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: r471400 - in head: archivers/lazperf audio/libmusicxml biology/kallisto databases/xapian-core deskutils/tasksh deskutils/timewarrior devel/courier-unicode devel/easyloggingpp devel/glib...
Message-ID:  <201806021940.w52JexBU045265@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Sat Jun  2 19:40:59 2018
New Revision: 471400
URL: https://svnweb.freebsd.org/changeset/ports/471400

Log:
  Adjust USES to fix building on gcc-based archs (in particular, powerpc64).
  
  On the clang architectures, these changes have no effect: the baser
  compiler already includes the needed features.
  
  While here, remove now-redundant CXXFLAGS statements and pet portlint
  (no other content change).
  
  Tested on both powerpc64 and amd64.
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/archivers/lazperf/Makefile
  head/audio/libmusicxml/Makefile
  head/biology/kallisto/Makefile
  head/databases/xapian-core/Makefile
  head/deskutils/tasksh/Makefile
  head/deskutils/timewarrior/Makefile
  head/devel/courier-unicode/Makefile
  head/devel/easyloggingpp/Makefile
  head/devel/glibmm-reference/Makefile
  head/devel/hexd/Makefile
  head/devel/pecl-swoole/Makefile
  head/devel/poco/Makefile
  head/devel/py-pyicu/Makefile
  head/devel/pybind11/Makefile
  head/ftp/curlpp/Makefile
  head/graphics/feh/Makefile
  head/graphics/pixd/Makefile
  head/graphics/swfmill/Makefile
  head/lang/libobjc2/Makefile
  head/mail/courier-imap/Makefile
  head/mail/maildrop/Makefile
  head/mail/sqwebmail/Makefile
  head/math/glucose/Makefile
  head/net/pktanon/Makefile
  head/security/akmos/Makefile
  head/security/trezord/Makefile
  head/sysutils/fswatch-mon/Makefile
  head/sysutils/usbtop/Makefile
  head/textproc/sdcv/Makefile

Modified: head/archivers/lazperf/Makefile
==============================================================================
--- head/archivers/lazperf/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/archivers/lazperf/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -11,7 +11,7 @@ COMMENT=	Alternative LAZ implementation for C++ and Ja
 LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		cmake:outsource
+USES=		cmake:outsource compiler:c++11-lang
 USE_GITHUB=	yes
 GH_ACCOUNT=	hobu
 GH_PROJECT=	laz-perf

Modified: head/audio/libmusicxml/Makefile
==============================================================================
--- head/audio/libmusicxml/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/audio/libmusicxml/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -10,7 +10,7 @@ COMMENT=	Library and tools for the MusicXML format
 LICENSE=	MPL20
 LICENSE_FILE=	${WRKSRC}/license.txt
 
-USES=		cmake:outsource
+USES=		cmake:outsource compiler:c++11-lang
 USE_GITHUB=	yes
 GH_ACCOUNT=	grame-cncm
 GH_TAGNAME=	91347ae

Modified: head/biology/kallisto/Makefile
==============================================================================
--- head/biology/kallisto/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/biology/kallisto/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -14,7 +14,7 @@ LICENSE_FILE=	${WRKSRC}/license.txt
 LIB_DEPENDS=	libhdf5.so:science/hdf5 \
 		libsz.so:science/szip
 
-USES=		cmake
+USES=		cmake compiler:c++11-lang
 USE_GITHUB=	yes
 GH_ACCOUNT=	pachterlab
 

Modified: head/databases/xapian-core/Makefile
==============================================================================
--- head/databases/xapian-core/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/databases/xapian-core/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -14,8 +14,6 @@ COMMENT=	Probabilistic text search database engine
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BROKEN_powerpc64=	fails to configure: A compiler with support for C++11 language features is required
-
 CONFLICTS_INSTALL=	xapian-core10 xapian-core12
 
 OPTIONS_DEFINE=	DOCS SSE2
@@ -25,8 +23,8 @@ PORTSCOUT=	limitw:1,even
 
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
+USES=		compiler:c++11-lang libtool pathfix tar:xz
 USE_LDCONFIG=	yes
-USES=		libtool pathfix tar:xz
 
 SSE2_CONFIGURE_ENABLE=	sse
 

Modified: head/deskutils/tasksh/Makefile
==============================================================================
--- head/deskutils/tasksh/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/deskutils/tasksh/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -8,6 +8,6 @@ MASTER_SITES=	http://taskwarrior.org/download/
 MAINTAINER=	swills@FreeBSD.org
 COMMENT=	Shell command that wraps Taskwarrior commands
 
-USES=		cmake readline
+USES=		cmake compiler:c++11-lang readline
 
 .include <bsd.port.mk>

Modified: head/deskutils/timewarrior/Makefile
==============================================================================
--- head/deskutils/timewarrior/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/deskutils/timewarrior/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -9,6 +9,6 @@ DISTNAME=	timew-${PORTVERSION}
 MAINTAINER=	swills@FreeBSD.org
 COMMENT=	Track time from the command line
 
-USES=		cmake
+USES=		cmake compiler:c++11-lang
 
 .include <bsd.port.mk>

Modified: head/devel/courier-unicode/Makefile
==============================================================================
--- head/devel/courier-unicode/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/devel/courier-unicode/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -12,7 +12,7 @@ LICENSE=	GPLv3
 
 CONFLICTS=	libunicode-[0-9]*
 
-USES=		iconv libtool perl5 tar:bzip2
+USES=		compiler:c++11-lang iconv libtool perl5 tar:bzip2
 USE_PERL5=	build
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes

Modified: head/devel/easyloggingpp/Makefile
==============================================================================
--- head/devel/easyloggingpp/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/devel/easyloggingpp/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -11,7 +11,7 @@ COMMENT=	C++ logging library
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cmake:outsource
+USES=		cmake:outsource compiler:c++11-lang
 USE_GITHUB=	yes
 GH_ACCOUNT=	muflihun
 USE_LDCONFIG=	yes

Modified: head/devel/glibmm-reference/Makefile
==============================================================================
--- head/devel/glibmm-reference/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/devel/glibmm-reference/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -7,7 +7,7 @@ BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/glibmm-2
 		gm4:devel/m4
 
 GNU_CONFIGURE=	yes
-USES=		gmake pkgconfig
+USES=		compiler:c++11-lang gmake pkgconfig
 
 DOCSDIR=	${PREFIX}/share/doc/glibmm-2.4
 

Modified: head/devel/hexd/Makefile
==============================================================================
--- head/devel/hexd/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/devel/hexd/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -11,7 +11,7 @@ COMMENT=	Colourful, human-friendly hexdump tool
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		gmake
+USES=		compiler:c++11-lang gmake
 USE_GITHUB=	yes
 GH_ACCOUNT=	FireyFly
 

Modified: head/devel/pecl-swoole/Makefile
==============================================================================
--- head/devel/pecl-swoole/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/devel/pecl-swoole/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -11,9 +11,7 @@ COMMENT=	Asynchronous & concurrent & distributed netwo
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN_powerpc64=	fails to build: swoole_config.h: error GCC 4.4 or later required
-
-USES=		localbase:ldflags php:pecl ssl
+USES=		compiler:c11 localbase:ldflags php:pecl ssl
 USE_PHP=	pcre
 
 OPTIONS_DEFINE=	HTTP2 REDIS SOCKETS

Modified: head/devel/poco/Makefile
==============================================================================
--- head/devel/poco/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/devel/poco/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -18,7 +18,7 @@ LIB_DEPENDS=	libpcre.so:devel/pcre \
 
 CONFLICTS=	poco-ssl-[0-9]*
 
-USES=		cmake localbase pkgconfig
+USES=		cmake compiler:c++11-lang localbase pkgconfig
 CMAKE_ARGS=	-DPOCO_UNBUNDLED:BOOL=ON
 USE_LDCONFIG=	yes
 

Modified: head/devel/py-pyicu/Makefile
==============================================================================
--- head/devel/py-pyicu/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/devel/py-pyicu/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -17,8 +17,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libicudata.so:devel/icu
 
-USES=		python
-USE_CXXSTD=	c++11
+USES=		compiler:c++11-lang python
 USE_PYTHON=	distutils autoplist
 
 MAKE_ENV+=	PYICU_INCLUDES="${LOCALBASE}/include" \

Modified: head/devel/pybind11/Makefile
==============================================================================
--- head/devel/pybind11/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/devel/pybind11/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -11,7 +11,7 @@ COMMENT=	Seamless interoperability between C++11 and P
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cmake:outsource
+USES=		cmake:outsource compiler:c++11-lang
 USE_GITHUB=	yes
 GH_ACCOUNT=	pybind
 NO_ARCH=	yes

Modified: head/ftp/curlpp/Makefile
==============================================================================
--- head/ftp/curlpp/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/ftp/curlpp/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -12,14 +12,12 @@ COMMENT=	C++ wrapper for libcurl
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/doc/LICENSE
 
-BROKEN_powerpc64=	fails to configure: error: A compiler with support for C++11 language features is required
-
 LIB_DEPENDS=	libcurl.so:ftp/curl
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
+USES=		compiler:c++11-lang cmake localbase pathfix
 USE_LDCONFIG=	yes
-USES=		cmake localbase pathfix
 
 PORTDOCS=	*
 PORTEXAMPLES=	*

Modified: head/graphics/feh/Makefile
==============================================================================
--- head/graphics/feh/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/graphics/feh/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -17,7 +17,7 @@ LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libImlib2.so:graphics/imlib2 \
 		libpng.so:graphics/png
 
-USES=		cpe desktop-file-utils gmake localbase:ldflags \
+USES=		compiler:c++11-lang cpe desktop-file-utils gmake localbase:ldflags \
 		perl5 shebangfix tar:bzip2
 SHEBANG_FILES=	cam/feh-cam
 USE_XORG=	x11 xt xinerama

Modified: head/graphics/pixd/Makefile
==============================================================================
--- head/graphics/pixd/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/graphics/pixd/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -11,7 +11,7 @@ COMMENT=	Visualize binary data in terminal
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		gmake
+USES=		compiler:c++11-lang gmake
 USE_GITHUB=	yes
 GH_ACCOUNT=	FireyFly
 

Modified: head/graphics/swfmill/Makefile
==============================================================================
--- head/graphics/swfmill/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/graphics/swfmill/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -17,7 +17,7 @@ LIB_DEPENDS=	libpng.so:graphics/png \
 		libgcrypt.so:security/libgcrypt \
 		libgpg-error.so:security/libgpg-error
 
-USES=		dos2unix iconv gmake pkgconfig libtool
+USES=		compiler:c++11-lang dos2unix iconv gmake pkgconfig libtool
 USE_GNOME=	libxml2 libxslt
 GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include

Modified: head/lang/libobjc2/Makefile
==============================================================================
--- head/lang/libobjc2/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/lang/libobjc2/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -9,14 +9,14 @@ CATEGORIES=	lang devel gnustep
 MAINTAINER=	theraven@FreeBSD.org
 COMMENT=	Replacement Objective-C runtime supporting modern Objective-C features
 
-SSP_UNSAFE=	yes
-
-USES=		cmake objc:compiler
 BROKEN_powerpc=		Does not compile on powerpc: Unsupported relocation type 10
 BROKEN_sparc64=		Does not compile on sparc64: Cannot configure clang properly
+USES=		cmake compiler:c++11-lang objc:compiler
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	gnustep
+
+SSP_UNSAFE=	yes
 
 SHLIB_MAJOR=	4
 SHLIB_MINOR=	6

Modified: head/mail/courier-imap/Makefile
==============================================================================
--- head/mail/courier-imap/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/mail/courier-imap/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -17,7 +17,7 @@ LIB_DEPENDS=	libcourier-unicode.so:devel/courier-unico
 
 CONFLICTS=	courier-[0-9]* imap-uw-[0-9]* panda-imap-[0-9]*
 
-USES=		gmake localbase:ldflags perl5 ssl tar:bzip2
+USES=		compiler:c++11-lang gmake localbase:ldflags perl5 ssl tar:bzip2
 GNU_CONFIGURE=	yes
 USE_RC_SUBR=	courier-imap-imapd courier-imap-imapd-ssl \
 		courier-imap-pop3d courier-imap-pop3d-ssl

Modified: head/mail/maildrop/Makefile
==============================================================================
--- head/mail/maildrop/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/mail/maildrop/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -25,7 +25,10 @@ COMMENT=	Mail delivery agent (MDA) with filtering abil
 
 LICENSE=	GPLv3
 
-USES=		iconv localbase:ldflags perl5 tar:bzip2
+LIB_DEPENDS=	libpcre.so:devel/pcre \
+		libcourier-unicode.so:devel/courier-unicode
+
+USES=		compiler:c++11-lang iconv localbase:ldflags perl5 tar:bzip2
 USE_PERL5=	build
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-syslog=1 \
@@ -35,9 +38,6 @@ CONFIGURE_ARGS=	--enable-syslog=1 \
 INSTALL_TARGET=	install-strip
 
 CONFLICTS=	courier-0.65* libunicode-[0-9]*
-
-LIB_DEPENDS=	libpcre.so:devel/pcre \
-		libcourier-unicode.so:devel/courier-unicode
 
 MAILDROP_LOG_COLUMNS?=	72	# lenght of 'File:' line in log
 

Modified: head/mail/sqwebmail/Makefile
==============================================================================
--- head/mail/sqwebmail/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/mail/sqwebmail/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -57,7 +57,7 @@ MAILGRP?=	courier
 #
 # End of user variables
 
-USES=		gettext gmake iconv perl5 tar:bzip2
+USES=		compiler:c++11-lang gettext gmake iconv perl5 tar:bzip2
 USE_RC_SUBR=	sqwebmail-sqwebmaild
 GNU_CONFIGURE=	yes
 

Modified: head/math/glucose/Makefile
==============================================================================
--- head/math/glucose/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/math/glucose/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -12,7 +12,7 @@ COMMENT=	Parallel SAT solver based on Minisat, with gl
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENCE
 
-USES=		gmake tar:tgz
+USES=		compiler:c++11-lang gmake tar:tgz
 
 PLIST_FILES=	bin/glucose bin/glucose-syrup
 

Modified: head/net/pktanon/Makefile
==============================================================================
--- head/net/pktanon/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/net/pktanon/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -13,7 +13,7 @@ COMMENT=	Network trace anonymizer
 LIB_DEPENDS=	libboost_regex.so:devel/boost-libs \
 		libxerces-c.so.3:textproc/xerces-c3
 
-USES=		dos2unix
+USES=		compiler:c++0x dos2unix
 GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib -lboost_system

Modified: head/security/akmos/Makefile
==============================================================================
--- head/security/akmos/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/security/akmos/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -10,7 +10,7 @@ COMMENT=	Cryptographic library with low footprint
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cmake:outsource
+USES=		cmake:outsource compiler:c++11-lang
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	melanhit

Modified: head/security/trezord/Makefile
==============================================================================
--- head/security/trezord/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/security/trezord/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -19,7 +19,7 @@ LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libjsoncpp.so:devel/jsoncpp \
 		libmicrohttpd.so:www/libmicrohttpd
 
-USES=		cmake pkgconfig
+USES=		cmake compiler:c++11-lang pkgconfig
 
 USE_RC_SUBR=	${PORTNAME}
 

Modified: head/sysutils/fswatch-mon/Makefile
==============================================================================
--- head/sysutils/fswatch-mon/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/sysutils/fswatch-mon/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -12,9 +12,7 @@ COMMENT=	Cross-platform file change monitor
 
 LICENSE=	GPLv3
 
-BROKEN_powerpc64=	fails to configure: A compiler with support for C++11 language features is required
-
-USES=	libtool makeinfo
+USES=		compiler:c++11-lang libtool makeinfo
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 

Modified: head/sysutils/usbtop/Makefile
==============================================================================
--- head/sysutils/usbtop/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/sysutils/usbtop/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -15,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libboost_system.so:devel/boost-libs
 
-USES=		cmake:outsource
+USES=		cmake:outsource compiler:c++11-lang
 USE_GITHUB=	yes
 GH_ACCOUNT=	aguinet
 

Modified: head/textproc/sdcv/Makefile
==============================================================================
--- head/textproc/sdcv/Makefile	Sat Jun  2 19:25:41 2018	(r471399)
+++ head/textproc/sdcv/Makefile	Sat Jun  2 19:40:59 2018	(r471400)
@@ -12,7 +12,7 @@ COMMENT=	Text-based utility for work with dictionaries
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cmake:outsource pkgconfig readline
+USES=		cmake:outsource compiler:c++11-lang pkgconfig readline
 USE_GNOME=	glib20
 
 SUB_FILES=	pkg-message



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