1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

More precisely specify USES=compiler to fix build on gcc-based

platforms such as powerpc64.

Tested on powerpc64, amd64.

Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Mark Linimon 2018-09-18 08:14:23 +00:00
parent cdf2a00af5
commit 2e7f27934a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=479990
22 changed files with 30 additions and 34 deletions

View File

@ -21,7 +21,7 @@ RUN_DEPENDS= ${PORTNAME}-all-services>=0:www/${PORTNAME}-all-services
USE_GITHUB= yes
GH_ACCOUNT= tiliado
USES= gnome libarchive pkgconfig waf
USES= compiler:c11 gnome libarchive pkgconfig waf
USE_GNOME= glib20 gtk30
USE_XORG= x11
# src/nuvolakit-runner/components/keybindings/XKeyGrabber.c:128:2: error: non-void function 'nuvola_xkey_grabber_construct' should return a value [-Wreturn-type]

View File

@ -12,14 +12,12 @@ COMMENT= Investigative LV2 plugin bundle
LICENSE= ART20
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_powerpc64= fails to build: cc1: unrecognized command line option -std=gnu11
BUILD_DEPENDS= lv2>0:audio/lv2
LIB_DEPENDS= libserd-0.so:devel/serd \
libsord-0.so:devel/sord \
libsratom-0.so:audio/sratom
USES= cmake pkgconfig
USES= cmake compiler:c11 pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= OpenMusicKontrollers
GH_PROJECT= sherlock.lv2

View File

@ -15,7 +15,7 @@ BUILD_DEPENDS= boost-libs>=1.60.0:devel/boost-libs
LIB_DEPENDS= libhts.so:biology/htslib \
libboost_regex.so:devel/boost-libs
USES= cmake pkgconfig
USES= cmake compiler:c++14-lang pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= PacificBiosciences
GH_TAGNAME= c6b8113adb5104948879e9ff69f739121f12a09f

View File

@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libboost_regex.so:devel/boost-libs
USES= cmake
USES= cmake compiler:c++14-lang
# Although there are a couple releases, git describe --tags does not work
# so we cannot use the usual USE_GITHUB tools here.
USE_GITHUB= yes

View File

@ -20,7 +20,7 @@ BUILD_DEPENDS= pbseqan>=g20171002:biology/pbseqan \
LIB_DEPENDS= libhts.so:biology/htslib \
libboost_regex.so:devel/boost-libs
USES= cmake pkgconfig python
USES= cmake compiler:c++14-lang pkgconfig python
USE_GITHUB= yes
GH_ACCOUNT= PacificBiosciences

View File

@ -10,11 +10,7 @@ MASTER_SITES= http://freehdl.seul.org/~enaroska/
MAINTAINER= ports@FreeBSD.org
COMMENT= Free VHDL simulator
BROKEN_mips= fails to build: cc1plus: error: unrecognized command line option "-std=gnu++03"
BROKEN_mips64= fails to build: cc1plus: error: unrecognized command line option "-std=gnu++03"
BROKEN_powerpc64= fails to build: cc1plus: error: unrecognized command line option "-std=gnu++03"
USES= gmake pathfix libtool makeinfo perl5 pkgconfig
USES= compiler:c++0x gmake pathfix libtool makeinfo perl5 pkgconfig
USE_LDCONFIG= yes
USE_GCC= any
GNU_CONFIGURE= yes

View File

@ -15,14 +15,13 @@ LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
BROKEN_aarch64= does not build: error: Please implement AtomicPointer for this platform
BROKEN_powerpc64= does not build: error: unrecognized command line option -std=c++0x
BROKEN_sparc64= does not build: unrecognized command line options
LIB_DEPENDS= libleveldb.so:databases/leveldb
MAKE_ARGS= CC="${CXX}"
USES= compiler:c++0x gmake localbase perl5
USE_PERL5= configure
USES= compiler gmake localbase perl5
.include <bsd.port.pre.mk>

View File

@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYRIGHT
BUILD_DEPENDS= ${LOCALBASE}/include/laz-perf/las.hpp:archivers/lazperf
LIB_DEPENDS= libght.so:devel/libght
USES= autoreconf gmake gnome pgsql
USES= autoreconf compiler:c++0x gmake gnome pgsql
WANT_PGSQL= server
USE_GNOME= libxml2
GNU_CONFIGURE= yes

View File

@ -20,7 +20,7 @@ PLIST_SUB+= PORTVERSION="${PORTVERSION}"
REINPLACE_ARGS= -I ""
USES= shebangfix
USES= compiler shebangfix
SHEBANG_FILES= build comp/build comp/icm_bootstrap comp/updategrammar \
comp/updateparser comp/updatescanner dep/build dep/icm_bootstrap \
exec/build exec/icm_bootstrap exec/list/test/build exec/string/test/build \
@ -37,6 +37,12 @@ GL_COMMIT= 8e3ac3057363162b87279bab1e9ba356eb0aea0f
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} == 42
CFLAGS+= -std=gnu99
.endif
post-patch:
@${REINPLACE_CMD} -e 's|find|find .|g' \
${WRKSRC}/icm_prepare

View File

@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= liballeg.so:devel/allegro
USES= gmake
USES= compiler:c++0x gmake
PORTDOCS= Changelog README README_ru.txt credits.txt

View File

@ -15,7 +15,7 @@ LICENSE= GPLv2
LIB_DEPENDS= libclan23Core.so:devel/clanlib
USES= gmake localbase pkgconfig tar:tgz
USES= compiler:c++0x gmake localbase pkgconfig tar:tgz
MAKE_ENV= METHANE_FLAGS="${CPPFLAGS}" METHANE_LIBS="${LIBS}"
MAKE_JOBS_UNSAFE= yes

View File

@ -19,7 +19,7 @@ LIB_DEPENDS= libpng.so:graphics/png \
USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME}-project
USES= cmake pkgconfig
USES= cmake compiler:c11 pkgconfig
CMAKE_ARGS= -DTAISEI_VERSION_OVERRIDE=${PORTVERSION}
USE_SDL= sdl2 ttf2 mixer2

View File

@ -19,7 +19,7 @@ LIB_DEPENDS= libbabl-0.1.so:x11/babl \
libjson-glib-1.0.so:devel/json-glib \
libpng.so:graphics/png
USES= cpe gettext gmake jpeg libtool localbase \
USES= compiler:c11 cpe gettext gmake jpeg libtool localbase \
pathfix pkgconfig shebangfix uniquefiles tar:bzip2
USE_GNOME= glib20 intltool introspection:build
USE_LDCONFIG= yes

View File

@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libjson-c.so:devel/json-c
USES= gmake gnome libtool localbase pkgconfig tar:xz
USES= compiler:c11 gmake gnome libtool localbase pkgconfig tar:xz
USE_GNOME= glib20 intltool introspection:build
GNU_CONFIGURE= yes
USE_LDCONFIG= yes

View File

@ -13,13 +13,11 @@ LICENSE= GPLv2
LIB_DEPENDS= libfreeimage.so:graphics/freeimage
BROKEN_powerpc64= fails to compile: cc1plus: unrecognized command line option "-std=c++0x"
PLIST_FILES= bin/perceptualdiff
USE_GITHUB= yes
GH_ACCOUNT= myint
USES= cmake
USES= cmake compiler:c++0x
.include <bsd.port.mk>

View File

@ -41,8 +41,9 @@ RUN_DEPENDS= highlight:textproc/highlight \
PORTSCOUT= limitw:1,even
USES= desktop-file-utils cmake gettext gnome iconv:wchar_t \
sqlite libarchive localbase pathfix pkgconfig tar:xz
USES= compiler:c11 desktop-file-utils cmake gettext gnome \
iconv:wchar_t sqlite libarchive localbase pathfix pkgconfig \
tar:xz
USE_GNOME= cairo evolutiondataserver3 gnomedesktop3 intltool
GNU_CONFIGURE= yes
USE_XORG= x11

View File

@ -29,7 +29,7 @@ LIB_DEPENDS= libgmime-2.6.so:mail/gmime26 \
libsoup-2.4.so:devel/libsoup \
libenchant.so:textproc/enchant
USES= cmake:outsource desktop-file-utils gettext libtool \
USES= cmake:outsource compiler:c11 desktop-file-utils gettext libtool \
localbase:ldflags pkgconfig shebangfix sqlite tar:xz
USE_GNOME= cairo gnomedocutils gnomeprefix gtk30 intlhack introspection
SHEBANG_FILES= desktop/geary-attach

View File

@ -18,7 +18,7 @@ LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING.lgpl3
BUILD_DEPENDS= ${HEADER_DEPENDS}
RUN_DEPENDS= ${HEADER_DEPENDS}
USES= cmake:outsource
USES= cmake:outsource compiler:c++14-lang
USE_GITHUB= yes
GH_ACCOUNT= bluescarni
NO_BUILD= yes

View File

@ -10,11 +10,9 @@ DISTNAME= gstreamer-editing-services-${PORTVERSION}
MAINTAINER= multimedia@FreeBSD.org
COMMENT= GStreamer editing services
BROKEN_powerpc64= fails to compile: ges-extractable.h:24: error: redefinition of typedef 'GESExtractable'
PORTSCOUT= limitw:1,even
USES= gmake gnome libtool pathfix python:2.7 pkgconfig tar:xz
USES= compiler:c11 gmake gnome libtool pathfix python:2.7 pkgconfig tar:xz
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
USE_GNOME= glib20 introspection:build libxml2 pygobject3

View File

@ -28,7 +28,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
CONFLICTS= seafile-[0-9]*
USES= autoreconf iconv libarchive libtool localbase mysql \
USES= autoreconf compiler:c11 iconv libarchive libtool localbase mysql \
pathfix pgsql pkgconfig python:-2.7 shebangfix sqlite ssl
USE_GITHUB= yes
GH_ACCOUNT= haiwen

View File

@ -11,7 +11,7 @@ MASTER_SITES= https://pwmt.org/projects/girara/download/ \
MAINTAINER= madpilot@FreeBSD.org
COMMENT= GTK3 Interface Library for Zathura PDF Viewer
USES= meson pathfix pkgconfig tar:xz
USES= compiler:c11 meson pathfix pkgconfig tar:xz
PATHFIX_MAKEFILEIN= Makefile
USE_GNOME= cairo gdkpixbuf2 glib20 gtk30
USE_LDCONFIG= yes

View File

@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libnotify.so:devel/libnotify
USES= gnome mate meson ninja pkgconfig gettext
USES= compiler:c11 gnome mate meson ninja pkgconfig gettext
MESON_ARGS= --sysconfdir=${PREFIX}/etc
USE_GITHUB= yes