Fix build on gcc-based archs by updating USES.

Tested on powerpc64 and amd64 (for no regression).

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Mark Linimon 2018-09-22 05:30:31 +00:00
parent bb337a85eb
commit aecf049634
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=480340
34 changed files with 49 additions and 63 deletions

View file

@ -16,7 +16,7 @@ BUILD_DEPENDS= lv2>0:audio/lv2 \
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
USES= pkgconfig waf
USES= compiler:c++11-lang pkgconfig waf
USE_GITHUB= yes
GH_ACCOUNT= blablack
GH_PROJECT= ${PORTNAME}-lv2

View file

@ -18,7 +18,7 @@ LIB_DEPENDS= libfftw3.so:math/fftw3 \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
USES= cmake:outsource dos2unix localbase:ldflags pkgconfig
USES= cmake:outsource compiler:c++11-lang dos2unix localbase:ldflags pkgconfig
USE_GNOME= glib20 gtk20 gtkmm24 gdkpixbuf2 atkmm cairo cairomm pangomm
DOS2UNIX_FILES= dsp/vu.h

View file

@ -13,11 +13,9 @@ COMMENT= LV2 'Midi Matrix' plugin bundle: 'Channel Filter'
LICENSE= ART20
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_powerpc64= fails to build: cc1: unrecognized command line option -std=gnu11
BUILD_DEPENDS= lv2>0:audio/lv2
USES= cmake pkgconfig
USES= cmake compiler:c11 pkgconfig
USE_XORG= x11 xext
USE_GL= gl glu

View file

@ -19,7 +19,7 @@ LIB_DEPENDS= libogg.so:audio/libogg \
USE_GITHUB= yes
GH_ACCOUNT= oamldev
USES= cmake
USES= cmake compiler:c++11-lang
CMAKE_ARGS= -DENABLE_UNITYPLUGIN:BOOL=OFF
PORTDOCS= *

View file

@ -12,7 +12,7 @@ COMMENT= Toolset for genome set arithmetic such as intersect, union
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gmake python
USES= compiler:c++11-lang gmake python
USE_GITHUB= yes
GH_ACCOUNT= arq5x
GH_PROJECT= bedtools2

View file

@ -32,7 +32,7 @@ CONFIGURE_ARGS= --datarootdir=${DATADIR} --docdir=${DOCSDIR} \
CONFIGURE_ENV= LUA="${LUA_CMD}" LUA_INC="${LUA_INCDIR}" LUA_LIB="${LUA_MODLIBDIR}" LUA_SO=.so
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= libtool lua tar:xz
USES= compiler:c++11-lang libtool lua tar:xz
PORTDOCS= *

View file

@ -15,9 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libboost_regex.so:devel/boost-libs
BROKEN_powerpc64= fails to configure: the compiler doesn't support C++11
USES= cmake:outsource mysql ssl
USES= cmake:outsource compiler:c++11-lang mysql ssl
USE_LDCONFIG= yes
CMAKE_ARGS= -DDOC_DESTINATION="${DOCSDIR}"

View file

@ -30,7 +30,7 @@ CONFIGURE_ARGS= --datarootdir=${DATADIR} --docdir=${DOCSDIR} \
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
LDFLAGS+= -L${LOCALBASE}/lib/perl5/${PERL_VER}/mach/CORE -lperl
USES= libtool perl5 tar:xz
USES= compiler:c++11-lang libtool perl5 tar:xz
PORTDOCS= *

View file

@ -20,7 +20,8 @@ LIB_DEPENDS= libproj.so:graphics/proj \
CONFLICTS= postgis20 postgis21 postgis22 postgis24 postgis
USES= gettext gmake iconv:wchar_t libtool:keepla perl5 pgsql pkgconfig shebangfix
USES= compiler:c++11-lang gettext gmake iconv:wchar_t libtool:keepla \
perl5 pgsql pkgconfig shebangfix
LLD_UNSAFE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= ${ICONV_CONFIGURE_BASE}

View file

@ -19,7 +19,8 @@ LIB_DEPENDS= libproj.so:graphics/proj \
CONFLICTS_INSTALL= postgis20 postgis21 postgis22 postgis23 postgis
USES= gettext gmake gnome iconv:wchar_t libtool:keepla perl5 pgsql pkgconfig shebangfix
USES= compiler:c++11-lang gettext gmake iconv:wchar_t libtool:keepla \
perl5 pgsql pkgconfig shebangfix
LLD_UNSAFE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= ${ICONV_CONFIGURE_BASE}

View file

@ -32,7 +32,7 @@ CONFIGURE_ARGS= --datarootdir=${DATADIR} --docdir=${DOCSDIR} \
--without-php --without-ruby --without-tcl
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= libtool python tar:xz
USES= compiler:c++11-lang libtool python tar:xz
USE_PYTHON= flavors
PORTDOCS= *

View file

@ -30,8 +30,8 @@ CONFIGURE_ARGS= --datarootdir=${DATADIR} --docdir=${DOCSDIR} \
--without-php --without-python --without-python3 --without-tcl
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= compiler:c++11-lang libtool tar:xz
USE_RUBY= yes
USES= libtool tar:xz
PORTDOCS= *

View file

@ -17,7 +17,7 @@ OPTIONS_DEFINE= NLS DOCS
OPTIONS_SUB= yes
CONFLICTS_INSTALL= xpad3-[0-9]*
USES= pkgconfig gmake tar:bzip2 autoreconf
USES= autoreconf compiler:c++11-lang gmake pkgconfig tar:bzip2
USE_XORG= x11 sm ice
USE_GNOME= gtk30 intltool gtksourceview3 cairo
INSTALLS_ICONS= yes

View file

@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.GPL
LIB_DEPENDS= libqscintilla2_qt4.so:devel/qscintilla2
USES= dos2unix qmake python:run qt:4 shebangfix
USES= compiler:c++11-lang dos2unix qmake python:run qt:4 shebangfix
SHEBANG_FILES= indenters/*.py indenters/*.rb
USE_QT= corelib moc_build uic_build rcc_build \
linguist_build network script gui

View file

@ -12,7 +12,7 @@ COMMENT= YAML parser and emitter in C++ matching the YAML 1.2 spec
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake
USES= cmake compiler:c++11-lang
USE_LDCONFIG= yes
CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON -DYAML_CPP_BUILD_TOOLS=0

View file

@ -15,7 +15,6 @@ COMMENT= Official continuation of the famous Blobby Volley 1.x game
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_powerpc64= fails to build: cc1plus: unrecognized command line option "-std=c++11"
NOT_FOR_ARCHS= aarch64
NOT_FOR_ARCHS_REASON= fails to compile: I can't tell what endian-ness to use for your architecture
@ -23,7 +22,7 @@ LIB_DEPENDS= libphysfs.so:devel/physfs
BUILD_DEPENDS= zip:archivers/zip \
${LOCALBASE}/include/boost/crc.hpp:devel/boost-libs
USES= cmake dos2unix localbase:ldflags pkgconfig
USES= cmake compiler:c++11-lang dos2unix localbase:ldflags pkgconfig
DOS2UNIX_REGEX= .*\.(c|h|cpp)
CMAKE_ARGS= -DDATADIR:PATH="${DATADIR}"
WRKSRC= ${WRKDIR}/blobby-${PORTVERSION}

View file

@ -22,7 +22,7 @@ LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
USE_GITHUB= yes
GH_ACCOUNT= frogatto
USES= gmake pkgconfig dos2unix
USES= compiler:c++11-lang dos2unix gmake pkgconfig
ALL_TARGET= game server
USE_GL= glew glu
USE_SDL= sdl image mixer ttf

View file

@ -16,7 +16,7 @@ LIB_DEPENDS= libphysfs.so:devel/physfs
LIB_DEPENDS+= libalut.so:audio/freealut
WRKSRC_SUBDIR= src
USES= gmake openal:al,alut
USES= compiler:c++11-lang gmake openal:al,alut
USE_SDL= sdl2 image2
USE_GL= glu gl glew
MAKEFILE= GNUmakefile

View file

@ -20,13 +20,14 @@ USE_GITHUB= yes
GH_ACCOUNT= ooxi
GH_TUPLE= jarro2783:CMake-Gettext:6ee6405:cmakegettext/lib/CMake-Gettext
USES= cmake gettext
USES= cmake compiler:c++11-lang gettext
USE_SDL= sdl mixer image ttf
USE_GL= gl glu
CMAKE_ARGS= -DDATA_INSTALL_DIR="${DATADIR}" \
-DLOCALE_INSTALL_DIR="${PREFIX}/share/locale"
CXXFLAGS+= -Wno-c++11-narrowing
CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
CXXFLAGS_clang= -Wno-c++11-narrowing
PORTDOCS= *
PORTDATA= *

View file

@ -20,8 +20,9 @@ LIB_DEPENDS= libltdl.so:devel/libltdl \
libexpat.so:textproc/expat2 \
libgd.so:${GD_PORT}
USES= cpe pathfix shebangfix gmake bison groff pkgconfig \
libtool:keepla localbase:ldflags jpeg
USES= bison compiler:c++11-lang cpe gmake groff \
jpeg libtool:keepla localbase:ldflags pathfix \
pkgconfig shebangfix
GNU_CONFIGURE= yes
# sincos is broken on armv6, see ports/220591
CFLAGS_armv6= -fno-builtin-sincos -fno-builtin-sin -fno-builtin-cos \

View file

@ -2,8 +2,8 @@
PORTNAME= sdcc
PORTVERSION= 3.7.0
PORTREVISION= 1
DISTVERSIONPREFIX= src-
PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= SF
@ -12,11 +12,13 @@ COMMENT= Small Device C Compiler
LICENSE= GPLv3
BROKEN_aarch64= Fails to configure: BFD does not support target aarch64-portbld-freebsd11.0
BUILD_DEPENDS= ${LOCALBASE}/include/boost/graph/adjacency_list.hpp:devel/boost-libs
CONFLICTS_INSTALL= sdcc-[0-9]* sdcc-devel-[0-9]*
GNU_CONFIGURE= yes
USES= bison gmake readline:port python:2.7,run shebangfix tar:bzip2
USES= bison compiler:c++11-lang gmake readline:port python:2.7,run shebangfix tar:bzip2
SHEBANG_FILES= support/scripts/as2gbmap.py
OPTIONS_DEFINE= DEVLIB DOCS UCSIM
@ -51,8 +53,6 @@ Z80_CONFIGURE_OFF= --disable-gbz80-port --disable-r2k-port \
--disable-r3ka-port --disable-tlcs90-port \
--disable-z180-port --disable-z80-port
BROKEN_aarch64= Fails to configure: BFD does not support target aarch64-portbld-freebsd11.0
.include <bsd.port.options.mk>
.if ${ARCH} == "amd64"

View file

@ -17,7 +17,7 @@ LIB_DEPENDS= libblas.so:math/blas \
libClp.so:math/clp \
liblapack.so:math/lapack
USES= fortran gmake libtool pkgconfig
USES= compiler:c++11-lang fortran gmake libtool pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= coin-or
GH_PROJECT= Cbc

View file

@ -14,7 +14,7 @@ LIB_DEPENDS= libblas.so:math/blas \
libClp.so:math/clp \
liblapack.so:math/lapack
USES= gmake libtool pkgconfig
USES= compiler:c++11-lang gmake libtool pkgconfig
GNU_CONFIGURE= yes
USE_GITHUB= yes
GH_ACCOUNT= coin-or

View file

@ -13,9 +13,7 @@ COMMENT= Linear Programming Solver
LICENSE= EPL
BROKEN_powerpc64= fails to compile: CoinSignal.hpp: ISO C++ forbids declaration of '__decltype' with no type
USES= blaslapack fortran libtool tar:tgz pathfix
USES= blaslapack compiler:c++11-lang fortran libtool pathfix tar:tgz
CXXFLAGS+= -ffast-math
GNU_CONFIGURE= yes

View file

@ -12,20 +12,19 @@ COMMENT= Library for uniform random number generation in OpenCL
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64
ONLY_FOR_ARCHS_REASON= this code has only been tested on x86 and powerpc platforms
BUILD_DEPENDS= opencl>=0:devel/opencl
LIB_DEPENDS= libOpenCL.so:devel/ocl-icd
RUN_DEPENDS= opencl>=0:devel/opencl
ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64
ONLY_FOR_ARCHS_REASON= this code has only been tested on x86 and powerpc platforms
BROKEN_powerpc64= fails to compile: cc1: error: unrecognized command line option -std=c11
USE_GITHUB= yes
GH_ACCOUNT= clMathLibraries
GH_PROJECT= clRNG
USES= cmake compiler:c++11-lang
USE_LDCONFIG= yes
USES= cmake
CMAKE_ARGS+= -DBUILD_CLIENT=OFF \
-DBUILD_TEST=OFF \

View file

@ -15,7 +15,7 @@ LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
CONFLICTS_INSTALL?= gnuplot-lite-[0-9]*
USES+= groff iconv pkgconfig readline
USES+= compiler:c++11-lang groff iconv pkgconfig readline
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
CONFIGURE_ARGS+=--with-readline=gnu \

View file

@ -2,8 +2,8 @@
PORTNAME= libvdpau-va-gl
PORTVERSION= 0.4.2
PORTREVISION= 2
DISTVERSIONPREFIX= v
PORTREVISION= 2
CATEGORIES= multimedia
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
@ -15,15 +15,14 @@ COMMENT= VDPAU driver with OpenGL/VAAPI backend
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libva-x11.so:multimedia/libva
BROKEN_armv6= fails to configure: CMake Error: Check for working CXX compiler: /nxb-bin/usr/bin/c++ -- broken
BROKEN_powerpc64= fails to compile: cc1plus: unrecognized command line option "-std=c++11"
LIB_DEPENDS= libva-x11.so:multimedia/libva
USE_GITHUB= yes
GH_ACCOUNT= i-rinat
USES= cmake pkgconfig
USES= cmake compiler:c++11-lang pkgconfig
USE_XORG= x11
USE_GL= gl
LDFLAGS+= -Wl,--as-needed # Xext, ICE, SM

View file

@ -10,13 +10,11 @@ MASTER_SITES= http://code.100allora.it/releases/pdfcube/
MAINTAINER= lwhsu@FreeBSD.org
COMMENT= OpenGL presentation viewer on a spinning cube
BROKEN_powerpc64= fails to configure: checking for exit in -lboost_program_options... no
LIB_DEPENDS= libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \
libpoppler-glib.so:graphics/poppler-glib \
libboost_program_options.so:devel/boost-libs
USES= pkgconfig
USES= compiler:c++11-lang pkgconfig
USE_GL= glut
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --libdir=${LOCALBASE}/lib --includedir=${LOCALBASE}/include

View file

@ -12,12 +12,11 @@ MAINTAINER= ed@FreeBSD.org
COMMENT= BDD-based satisfiability and reachability solver
BROKEN_powerpc= fails to compile due to running out of virtual memory
BROKEN_powerpc64= fails to build: undefined reference to boost::program_options::options_description::options_description
LIB_DEPENDS+= libbdd.so:science/buddy \
libboost_program_options.so:devel/boost-libs
USES= zip
USES= compiler:c++11-lang zip
NO_WRKSUBDIR= yes
CFLAGS+= -I${LOCALBASE}/include -I${WRKSRC}/include
LDFLAGS+= -L${LOCALBASE}/lib -lbdd -lboost_program_options

View file

@ -13,11 +13,9 @@ LICENSE= BSD3CLAUSE MIT GPLv2+ ZLIB
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BROKEN_powerpc64= fails to compile: Sources/libMultiMarkdown/file.h:116: redefinition of typedef 'DString'
LIB_DEPENDS= libcurl.so:ftp/curl
USES= cmake localbase:ldflags
USES= cmake compiler:c11 localbase:ldflags
USE_GITHUB= yes
GH_ACCOUNT= fletcher
GH_PROJECT= MultiMarkdown-6

View file

@ -10,7 +10,7 @@ COMMENT= Command-line utility that converts regular expressions to DFA
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gmake libtool
USES= compiler:c++11-lang gmake libtool
USE_GITHUB= yes
GH_ACCOUNT= kpdyer

View file

@ -15,8 +15,8 @@ OPTIONS_DEFINE= EXAMPLES
CMAKE_OFF= BUILD_TESTS
CMAKE_ON= BUILD_SHARED_LIBS BUILD_STATIC_LIBS
USES= cmake compiler:c++11-lang dos2unix pathfix
USE_LDCONFIG= yes
USES= cmake dos2unix pathfix
PLIST_SUB= PORTVERSION=${PORTVERSION}
PORTEXAMPLES= *

View file

@ -11,11 +11,7 @@ COMMENT= Useful tools to deal with CLF files (Common Log File format)
LICENSE= GPLv2
BROKEN_mips= fails to compile: clfmerge.cpp: error: unordered_map: No such file or directory
BROKEN_mips64= fails to compile: clfmerge.cpp: error: unordered_map: No such file or directory
BROKEN_powerpc64= fails to compile: clfmerge.cpp: error: unordered_map: No such file or directory
USES= tar:tgz
USES= compiler:c++11-lang tar:tgz
GNU_CONFIGURE= yes
post-patch:

View file

@ -29,8 +29,8 @@ CONFIGURE_ARGS= --datarootdir=${DATADIR} --docdir=${DOCSDIR}
CONFIGURE_ENV= PCRE_CONFIG=${LOCALBASE}/bin/pcre-config \
XAPIAN_CONFIG=${LOCALBASE}/bin/xapian-config
GNU_CONFIGURE= yes
USES= compiler:c++11-lang libtool localbase perl5 shebangfix tar:xz
USE_LDCONFIG= yes
USES= libtool localbase perl5 shebangfix tar:xz
SHEBANG_FILES= dbi2omega htdig2omega mbox2omega