svn commit: r472706 - in head: archivers/innoextract audio/mpdas biology/stacks databases/p5-DBD-cego databases/postgresql-libpqxx devel/eblob devel/gecode devel/libftdi1 devel/libvirt devel/xsd ed...

Mark Linimon linimon at FreeBSD.org
Mon Jun 18 19:03:10 UTC 2018


Author: linimon
Date: Mon Jun 18 19:03:03 2018
New Revision: 472706
URL: https://svnweb.freebsd.org/changeset/ports/472706

Log:
  Adjust USES to fix builds on gcc-based architectures.
  
  While here, pet portlint.
  
  Tested for no regression on amd64.
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/archivers/innoextract/Makefile
  head/audio/mpdas/Makefile
  head/biology/stacks/Makefile
  head/databases/p5-DBD-cego/Makefile
  head/databases/postgresql-libpqxx/Makefile
  head/devel/eblob/Makefile
  head/devel/gecode/Makefile
  head/devel/libftdi1/Makefile
  head/devel/libvirt/Makefile
  head/devel/xsd/Makefile
  head/editors/medit/Makefile
  head/editors/texworks/Makefile
  head/graphics/ayam/Makefile
  head/graphics/diffpdf/Makefile
  head/graphics/epdfview/Makefile
  head/graphics/py-poppler-qt4/Makefile
  head/graphics/qcomicbook/Makefile
  head/graphics/vips/Makefile
  head/mail/gnubiff/Makefile
  head/net/frr4/Makefile
  head/net/ostinato/Makefile
  head/news/nget/Makefile
  head/print/qpdfview/Makefile
  head/science/tfel/Makefile
  head/security/md5deep/Makefile
  head/sysutils/tmux-mem-cpu-load/Makefile
  head/textproc/goldendict/Makefile
  head/www/varnish5/Makefile

Modified: head/archivers/innoextract/Makefile
==============================================================================
--- head/archivers/innoextract/Makefile	Mon Jun 18 18:00:28 2018	(r472705)
+++ head/archivers/innoextract/Makefile	Mon Jun 18 19:03:03 2018	(r472706)
@@ -12,16 +12,16 @@ COMMENT=	Program to extract Inno Setup files
 LICENSE=	ZLIB
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BROKEN_sparc64=		Does not build: undefined reference to std::ctype<char>::_M_widen_init()
+
 LIB_DEPENDS=	libboost_iostreams.so:devel/boost-libs \
 		libboost_filesystem.so:devel/boost-libs \
 		libboost_system.so:devel/boost-libs \
 		libboost_program_options.so:devel/boost-libs
 
-USES=		cmake iconv
+USES=		cmake compiler:c++11-lang iconv
 
 PLIST_FILES=	bin/innoextract \
 		man/man1/innoextract.1.gz
-
-BROKEN_sparc64=		Does not build: undefined reference to std::ctype<char>::_M_widen_init()
 
 .include <bsd.port.mk>

Modified: head/audio/mpdas/Makefile
==============================================================================
--- head/audio/mpdas/Makefile	Mon Jun 18 18:00:28 2018	(r472705)
+++ head/audio/mpdas/Makefile	Mon Jun 18 19:03:03 2018	(r472706)
@@ -15,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libmpdclient.so:audio/libmpdclient
 
-USES=		pkgconfig
+USES=		compiler:c++11-lang pkgconfig
 
 USE_RC_SUBR=	mpdas
 

Modified: head/biology/stacks/Makefile
==============================================================================
--- head/biology/stacks/Makefile	Mon Jun 18 18:00:28 2018	(r472705)
+++ head/biology/stacks/Makefile	Mon Jun 18 19:03:03 2018	(r472706)
@@ -11,7 +11,7 @@ COMMENT=	Software pipeline for building loci from shor
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		gmake python shebangfix
+USES=		compiler:c++11-lang gmake python shebangfix
 SHEBANG_FILES=	scripts/*.pl scripts/*.py
 GNU_CONFIGURE=	yes
 

Modified: head/databases/p5-DBD-cego/Makefile
==============================================================================
--- head/databases/p5-DBD-cego/Makefile	Mon Jun 18 18:00:28 2018	(r472705)
+++ head/databases/p5-DBD-cego/Makefile	Mon Jun 18 19:03:03 2018	(r472706)
@@ -15,9 +15,10 @@ BUILD_DEPENDS=	p5-DBI>=1.631:databases/p5-DBI
 RUN_DEPENDS=	p5-DBI>=1.631:databases/p5-DBI
 LIB_DEPENDS=	libcego.so:databases/cego
 
-USES=		gmake perl5
+USES=		compiler gmake perl5
 USE_PERL5=	configure
 CC:=		${CXX}
+COMPILER_TYPE=	clang
 CONFIGURE_ARGS+=	--prefix=${PREFIX}
 
 post-install:

Modified: head/databases/postgresql-libpqxx/Makefile
==============================================================================
--- head/databases/postgresql-libpqxx/Makefile	Mon Jun 18 18:00:28 2018	(r472705)
+++ head/databases/postgresql-libpqxx/Makefile	Mon Jun 18 19:03:03 2018	(r472706)
@@ -15,7 +15,7 @@ LICENSE=	BSD3CLAUSE
 CONFLICTS=	postgresql-libpqxx-[1-5].* postgresql-libpqxx3-3.* \
 		postgresql-libpqxx4-4.*
 
-USES=		gmake libtool pathfix pgsql python:2.7,build shebangfix
+USES=		compiler:c++11-lang gmake libtool pathfix pgsql python:2.7,build shebangfix
 USE_GITHUB=	yes
 GH_ACCOUNT=	jtv
 GNU_CONFIGURE=	yes

Modified: head/devel/eblob/Makefile
==============================================================================
--- head/devel/eblob/Makefile	Mon Jun 18 18:00:28 2018	(r472705)
+++ head/devel/eblob/Makefile	Mon Jun 18 19:03:03 2018	(r472706)
@@ -13,11 +13,10 @@ LICENSE=	GPLv2
 
 LIB_DEPENDS=	libboost_iostreams.so:devel/boost-libs
 
+USES=		cmake compiler:c++11-lang
 USE_GITHUB=	yes
 GH_ACCOUNT=	zloidemon
 GH_TAGNAME=	0a75b89
-
-USES=		cmake
 USE_LDCONFIG=	yes
 
 OPTIONS_DEFINE=	ASSERT PYTHON SNAPPY EXAMPLES TESTS

Modified: head/devel/gecode/Makefile
==============================================================================
--- head/devel/gecode/Makefile	Mon Jun 18 18:00:28 2018	(r472705)
+++ head/devel/gecode/Makefile	Mon Jun 18 19:03:03 2018	(r472706)
@@ -13,13 +13,13 @@ COMMENT=	Generic Constraint Development Environment
 LICENSE=	BSL MIT
 LICENSE_COMB=	multi
 
-LIB_DEPENDS=	libmpfr.so:math/mpfr \
-		libgmp.so:math/gmp
-
 NOT_FOR_ARCHS=		aarch64 armv6 armv7 mips mips64
 NOT_FOR_ARCHS_REASON=	needs code written to specify rounding control mechanism in Boost.Numeric.Interval
 
-USES=		bison gmake perl5
+LIB_DEPENDS=	libmpfr.so:math/mpfr \
+		libgmp.so:math/gmp
+
+USES=		bison compiler:c++11-lang gmake perl5
 USE_PERL5=	build
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-static \

Modified: head/devel/libftdi1/Makefile
==============================================================================
--- head/devel/libftdi1/Makefile	Mon Jun 18 18:00:28 2018	(r472705)
+++ head/devel/libftdi1/Makefile	Mon Jun 18 19:03:03 2018	(r472706)
@@ -11,6 +11,8 @@ COMMENT=	Library (using libusb) to talk to FTDI chips
 
 LICENSE=	GPLv2
 
+BROKEN_sparc64=		Does not build: fails to link
+
 LIB_DEPENDS=	libconfuse.so:devel/libconfuse
 
 OPTIONS_DEFINE=		PYTHON BOOST DOCS EXAMPLES
@@ -20,9 +22,7 @@ OPTIONS_SUB=		yes
 BOOST_DESC=	Build with boost
 PYTHON_DESC=	Build Python bindings
 
-BROKEN_sparc64=		Does not build: fails to link
-
-USES=		cmake gettext-runtime pkgconfig tar:bzip2
+USES=		cmake compiler:c++11-lang gettext-runtime pkgconfig tar:bzip2
 USE_LDCONFIG=	yes
 
 PORTDOCS=	COPYING.LIB ChangeLog README

Modified: head/devel/libvirt/Makefile
==============================================================================
--- head/devel/libvirt/Makefile	Mon Jun 18 18:00:28 2018	(r472705)
+++ head/devel/libvirt/Makefile	Mon Jun 18 19:03:03 2018	(r472706)
@@ -97,7 +97,7 @@ PORTSCOUT=	limit:\d+\.\d+\.\d+$$
 
 LDFLAGS+=	-L${LOCALBASE}/lib -fstack-protector
 
-USES=		charsetfix cpe gettext-runtime gmake libtool pathfix \
+USES=		charsetfix compiler:c++0x cpe gettext-runtime gmake libtool pathfix \
 		perl5 python:build pkgconfig shebangfix tar:xz
 USE_RC_SUBR=	libvirtd virtlogd
 CPE_VENDOR=	redhat

Modified: head/devel/xsd/Makefile
==============================================================================
--- head/devel/xsd/Makefile	Mon Jun 18 18:00:28 2018	(r472705)
+++ head/devel/xsd/Makefile	Mon Jun 18 19:03:03 2018	(r472706)
@@ -33,7 +33,7 @@ MAKE_ARGS=	EXTERNAL_LIBCUTL=y \
 		install_prefix=${STAGEDIR}${PREFIX} \
 		install_man_dir=${STAGEDIR}${MANPREFIX}/man \
 		verbose=1
-USES=		gmake tar:bzip2
+USES=		compiler:c++11-lang gmake tar:bzip2
 
 post-patch:
 # Use devel/build instead of the port's bundled copy.

Modified: head/editors/medit/Makefile
==============================================================================
--- head/editors/medit/Makefile	Mon Jun 18 18:00:28 2018	(r472705)
+++ head/editors/medit/Makefile	Mon Jun 18 19:03:03 2018	(r472706)
@@ -13,7 +13,7 @@ COMMENT=	Programming and around-programming text edito
 
 LICENSE=	LGPL21
 
-USES=		gmake localbase pkgconfig tar:bzip2
+USES=		compiler:c++11-lang gmake localbase pkgconfig tar:bzip2
 GNU_CONFIGURE=	yes
 USE_GNOME=	gtk20
 INSTALLS_ICONS=	yes

Modified: head/editors/texworks/Makefile
==============================================================================
--- head/editors/texworks/Makefile	Mon Jun 18 18:00:28 2018	(r472705)
+++ head/editors/texworks/Makefile	Mon Jun 18 19:03:03 2018	(r472706)
@@ -18,7 +18,7 @@ BROKEN_armv7=		fails to install: PDFDocument.cpp:1836:
 BUILD_DEPENDS=	hunspell:textproc/hunspell
 LIB_DEPENDS=	libpoppler-qt4.so:graphics/poppler-qt4
 
-USES=		pkgconfig qmake
+USES=		compiler:c++11-lang pkgconfig qmake
 USE_GITHUB=	yes
 GH_ACCOUNT=	TeXworks
 USE_QT4=	gui corelib rcc_build moc_build uic_build \

Modified: head/graphics/ayam/Makefile
==============================================================================
--- head/graphics/ayam/Makefile	Mon Jun 18 18:00:28 2018	(r472705)
+++ head/graphics/ayam/Makefile	Mon Jun 18 19:03:03 2018	(r472706)
@@ -21,7 +21,7 @@ RUN_DEPENDS=	xdg-open:devel/xdg-utils
 
 WRKSRC=		${WRKDIR}/${PORTNAME}/src
 
-USES=		gmake tk
+USES=		compiler:c++11-lang gmake tk
 USE_XORG=	x11 xext xmu
 USE_GL=		glu
 MAKE_ENV=	TCL_INCLUDEDIR="${TCL_INCLUDEDIR}" \

Modified: head/graphics/diffpdf/Makefile
==============================================================================
--- head/graphics/diffpdf/Makefile	Mon Jun 18 18:00:28 2018	(r472705)
+++ head/graphics/diffpdf/Makefile	Mon Jun 18 19:03:03 2018	(r472706)
@@ -13,7 +13,7 @@ LICENSE=	GPLv2+
 
 LIB_DEPENDS=	libpoppler-qt4.so:graphics/poppler-qt4
 
-USES=		qmake
+USES=		compiler:c++11-lang qmake
 USE_QT4=	qmake_build moc_build rcc_build uic_build linguist_build
 
 PLIST_FILES=	bin/diffpdf

Modified: head/graphics/epdfview/Makefile
==============================================================================
--- head/graphics/epdfview/Makefile	Mon Jun 18 18:00:28 2018	(r472705)
+++ head/graphics/epdfview/Makefile	Mon Jun 18 19:03:03 2018	(r472706)
@@ -18,9 +18,9 @@ LICENSE=	GPLv2
 BUILD_DEPENDS=	cppunit-config:devel/cppunit
 LIB_DEPENDS=	libpoppler-glib.so:graphics/poppler-glib
 
+USES=		compiler:c++11-lang desktop-file-utils iconv gmake pkgconfig tar:bzip2
 GNU_CONFIGURE=	yes
 INSTALLS_ICONS=	yes
-USES=		desktop-file-utils iconv gmake pkgconfig tar:bzip2
 USE_GNOME=	gtk20 intlhack
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib

Modified: head/graphics/py-poppler-qt4/Makefile
==============================================================================
--- head/graphics/py-poppler-qt4/Makefile	Mon Jun 18 18:00:28 2018	(r472705)
+++ head/graphics/py-poppler-qt4/Makefile	Mon Jun 18 19:03:03 2018	(r472706)
@@ -16,7 +16,7 @@ LICENSE_COMB=	dual
 
 LIB_DEPENDS=	libpoppler-qt4.so:graphics/poppler-qt4
 
-USES=		pkgconfig pyqt:4 python
+USES=		compiler:c++11-lang pkgconfig pyqt:4 python
 USE_PYQT=	gui xml sip_build
 USE_PYTHON=	distutils autoplist
 

Modified: head/graphics/qcomicbook/Makefile
==============================================================================
--- head/graphics/qcomicbook/Makefile	Mon Jun 18 18:00:28 2018	(r472705)
+++ head/graphics/qcomicbook/Makefile	Mon Jun 18 19:03:03 2018	(r472706)
@@ -14,7 +14,7 @@ LICENSE=	GPLv2
 
 LIB_DEPENDS=	libpoppler-qt4.so:graphics/poppler-qt4
 
-USES=		cmake:outsource pkgconfig
+USES=		cmake:outsource compiler:c++11-lang pkgconfig
 USE_QT4=	corelib gui linguisttools_build moc_build qmake_build rcc_build \
 		uic_build xml
 

Modified: head/graphics/vips/Makefile
==============================================================================
--- head/graphics/vips/Makefile	Mon Jun 18 18:00:28 2018	(r472705)
+++ head/graphics/vips/Makefile	Mon Jun 18 19:03:03 2018	(r472706)
@@ -34,7 +34,7 @@ LIB_DEPENDS=	libcfitsio.so:astro/cfitsio \
 		libhdf5.so:science/hdf5 \
 		libexpat.so:textproc/expat2
 
-USES=		cpe gettext gmake jpeg libtool pathfix pkgconfig python:2.7 shebangfix
+USES=		compiler:c++11-lang cpe gettext gmake jpeg libtool pathfix pkgconfig python:2.7 shebangfix
 SHEBANG_FILES=	tools/vips-${PORTVERSION:R} tools/vipsprofile
 USE_GNOME=	cairo gdkpixbuf2 glib20 libgsf librsvg2 libxml2 pango
 GNU_CONFIGURE=	yes

Modified: head/mail/gnubiff/Makefile
==============================================================================
--- head/mail/gnubiff/Makefile	Mon Jun 18 18:00:28 2018	(r472705)
+++ head/mail/gnubiff/Makefile	Mon Jun 18 19:03:03 2018	(r472706)
@@ -10,12 +10,12 @@ MASTER_SITES=	SF
 MAINTAINER=	tdb at FreeBSD.org
 COMMENT=	Mail notification program for Gnome
 
-OPTIONS_DEFINE=	NLS
-
 LIB_DEPENDS=	libpopt.so:devel/popt
 
+OPTIONS_DEFINE=	NLS
+
+USES=		compiler:c++11-lang cpe fam gmake pathfix pkgconfig
 USE_GNOME=	intlhack libglade2 esound
-USES=		cpe fam gmake pathfix pkgconfig
 GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
 LIBS+=		-L${LOCALBASE}/lib -lX11

Modified: head/net/frr4/Makefile
==============================================================================
--- head/net/frr4/Makefile	Mon Jun 18 18:00:28 2018	(r472705)
+++ head/net/frr4/Makefile	Mon Jun 18 19:03:03 2018	(r472706)
@@ -18,9 +18,9 @@ LIB_DEPENDS=	libjson-c.so:devel/json-c
 
 CONFLICTS=	openbgpd openospfd zebra quagga frr3
 
+USES=		autoreconf bison compiler:c++11-lang gmake pkgconfig libtool makeinfo readline
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
-USES=		autoreconf bison gmake pkgconfig libtool makeinfo python:2.7,build readline
 USE_LDCONFIG=	yes
 
 USE_GITHUB=	yes

Modified: head/net/ostinato/Makefile
==============================================================================
--- head/net/ostinato/Makefile	Mon Jun 18 18:00:28 2018	(r472705)
+++ head/net/ostinato/Makefile	Mon Jun 18 19:03:03 2018	(r472706)
@@ -15,7 +15,7 @@ LICENSE=	GPLv3
 
 LIB_DEPENDS=	libprotobuf.so:devel/protobuf
 
-USES=		qmake
+USES=		compiler:c++11-lang qmake
 USE_QT4=	corelib gui moc_build rcc_build uic_build network script \
 		xml
 

Modified: head/news/nget/Makefile
==============================================================================
--- head/news/nget/Makefile	Mon Jun 18 18:00:28 2018	(r472705)
+++ head/news/nget/Makefile	Mon Jun 18 19:03:03 2018	(r472706)
@@ -14,7 +14,7 @@ COMMENT=	Auto-resuming command line nntp file grabber
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		gmake
+USES=		compiler:c++11-lang gmake
 GNU_CONFIGURE=	yes
 
 # Skip check if the C++ compiler supports exceptions.  We know both

Modified: head/print/qpdfview/Makefile
==============================================================================
--- head/print/qpdfview/Makefile	Mon Jun 18 18:00:28 2018	(r472705)
+++ head/print/qpdfview/Makefile	Mon Jun 18 19:03:03 2018	(r472706)
@@ -13,7 +13,7 @@ COMMENT=	Tabbed DjVu/PDF/PS document viewer
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		desktop-file-utils pkgconfig qmake
+USES=		compiler:c++11-lang desktop-file-utils pkgconfig qmake
 USE_LDCONFIG=	yes
 QMAKE_SOURCE_PATH=	${PORTNAME}.pro
 

Modified: head/science/tfel/Makefile
==============================================================================
--- head/science/tfel/Makefile	Mon Jun 18 18:00:28 2018	(r472705)
+++ head/science/tfel/Makefile	Mon Jun 18 19:03:03 2018	(r472706)
@@ -15,7 +15,7 @@ LICENSE=	GPLv3
 BUILD_DEPENDS=	gnuplot:math/gnuplot
 RUN_DEPENDS=	gnuplot:math/gnuplot
 
-USES=		cmake tar:bzip2
+USES=		cmake compiler:c++0x tar:bzip2
 
 OPTIONS_DEFINE=		DOCS PYTHON
 OPTIONS_DEFAULT=	PYTHON

Modified: head/security/md5deep/Makefile
==============================================================================
--- head/security/md5deep/Makefile	Mon Jun 18 18:00:28 2018	(r472705)
+++ head/security/md5deep/Makefile	Mon Jun 18 19:03:03 2018	(r472706)
@@ -15,8 +15,8 @@ GH_ACCOUNT=	jessek
 GH_PROJECT=	hashdeep
 GH_TAGNAME=	cd2ed74
 
+USES=		autoreconf compiler:c++11-lang gmake
 USE_GITHUB=	yes
-USES=		autoreconf gmake
 GNU_CONFIGURE=	yes
 
 .include <bsd.port.mk>

Modified: head/sysutils/tmux-mem-cpu-load/Makefile
==============================================================================
--- head/sysutils/tmux-mem-cpu-load/Makefile	Mon Jun 18 18:00:28 2018	(r472705)
+++ head/sysutils/tmux-mem-cpu-load/Makefile	Mon Jun 18 19:03:03 2018	(r472706)
@@ -13,12 +13,9 @@ LICENSE=	APACHE20
 
 RUN_DEPENDS=	tmux:sysutils/tmux
 
-BROKEN_powerpc64=	fails to compile: Compiler GNU 4.2.1 has no C++11 support
-
+USES=		cmake compiler:c++11-lang
 USE_GITHUB=	yes
 GH_ACCOUNT=	thewtex
-
-USES=		cmake
 
 PLIST_FILES=	bin/tmux-mem-cpu-load
 

Modified: head/textproc/goldendict/Makefile
==============================================================================
--- head/textproc/goldendict/Makefile	Mon Jun 18 18:00:28 2018	(r472705)
+++ head/textproc/goldendict/Makefile	Mon Jun 18 19:03:03 2018	(r472706)
@@ -17,7 +17,7 @@ LIB_DEPENDS=	libhunspell-1.6.so:textproc/hunspell \
 		libvorbis.so:audio/libvorbis
 
 NO_WRKSUBDIR=	yes
-USES=		dos2unix iconv:wchar_t pkgconfig qmake tar:bzip2
+USES=		compiler:c++11-lang dos2unix iconv:wchar_t pkgconfig qmake tar:bzip2
 DOS2UNIX_FILES=	processwrapper.cc
 USE_XORG=	xtst
 USE_QT4=	corelib gui webkit phonon \

Modified: head/www/varnish5/Makefile
==============================================================================
--- head/www/varnish5/Makefile	Mon Jun 18 18:00:28 2018	(r472705)
+++ head/www/varnish5/Makefile	Mon Jun 18 19:03:03 2018	(r472706)
@@ -17,8 +17,8 @@ LIB_DEPENDS=	libpcre.so:devel/pcre
 
 CONFLICTS=	varnish-2.* varnish-3.* varnish4-4.*
 
-USES=		autoreconf cpe gmake libedit libtool ncurses pathfix \
-		pkgconfig python:2.7,build readline shebangfix
+USES=		autoreconf compiler:c++11-lang cpe gmake libedit libtool \
+		ncurses pathfix pkgconfig python:2.7,build readline shebangfix
 SHEBANG_FILES=	lib/libvcc/*.py
 CPE_VENDOR=	varnish-cache
 CFLAGS+=	-I${LOCALBASE}/include


More information about the svn-ports-all mailing list