Downgrade C++03 to C++98, actual default for GCC < 6
GCC 4.2 in base system doesn't support C++03: cc1plus: error: unrecognized command line option "-std=gnu++03"
This commit is contained in:
parent
aaf6e1847d
commit
ec5d9a54d6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=483249
13 changed files with 14 additions and 25 deletions
|
@ -24,7 +24,7 @@ USE_GCC= any
|
|||
GNU_CONFIGURE= yes
|
||||
|
||||
# The port does not build with C++11 or later (bug 219275).
|
||||
USE_CXXSTD= gnu++03
|
||||
USE_CXXSTD= gnu++98
|
||||
|
||||
CONFLICTS= ltrace-0*
|
||||
|
||||
|
|
|
@ -18,9 +18,6 @@ LICENSE_FILE= ${WRKSRC}/LICENCE
|
|||
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
||||
|
||||
BROKEN_aarch64= fails to link: collect2: error: ld returned 1 exit status
|
||||
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"
|
||||
|
||||
CONFLICTS_INSTALL= fspclient-*
|
||||
|
||||
|
@ -38,7 +35,7 @@ CONFIGURE_ARGS+=--mandir=${MANPREFIX}/man \
|
|||
--prefix=${ALLIANCE_TOP}
|
||||
|
||||
# The port does not build with C++11 or later (bug 219275).
|
||||
USE_CXXSTD= gnu++03
|
||||
USE_CXXSTD= gnu++98
|
||||
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
|
|
|
@ -17,11 +17,11 @@ GNU_CONFIGURE= yes
|
|||
CONFIGURE_ARGS= SYSTEM_LIBTOOL=${FALSE}
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
# Bug 219297: GCC 6 changed its default from -std=gnu++03 to -std=gnu++14, and
|
||||
# Bug 219297: GCC 6 changed its default from -std=gnu++98 to -std=gnu++14, and
|
||||
# this port's code is not compatible with C++11. Since the project looks
|
||||
# abandoned upstream, it makes more sense to just continue building with an
|
||||
# older C++ standard.
|
||||
USE_CXXSTD= gnu++03
|
||||
USE_CXXSTD= gnu++98
|
||||
|
||||
INFO= fire
|
||||
|
||||
|
|
|
@ -12,10 +12,6 @@ COMMENT= Main Memory Relational Database Management System
|
|||
|
||||
LICENSE= MIT
|
||||
|
||||
BROKEN_mips= fails to compile: unrecognized command line option "-std=gnu++03"
|
||||
BROKEN_mips64= fails to compile: unrecognized command line option "-std=gnu++03"
|
||||
BROKEN_powerpc64= fails to compile: unrecognized command line option "-std=gnu++03"
|
||||
|
||||
USES= gmake dos2unix
|
||||
USE_GCC= any
|
||||
MAKE_ENV= OSTYPE="${OPSYS}"
|
||||
|
@ -31,7 +27,7 @@ OPTIONS_DEFINE= DOCS
|
|||
PORTDOCS= FastDB.htm
|
||||
|
||||
# The port does not build with C++11 or later (bug 219275).
|
||||
USE_CXXSTD= gnu++03
|
||||
USE_CXXSTD= gnu++98
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
|
|
|
@ -28,7 +28,7 @@ MAKE_JOBS_UNSAFE= yes
|
|||
|
||||
# GCC 6 switched to -std=gnu++14 by default, which breaks the port (bug
|
||||
# 219284). Explicitly use the previous default to keep things going.
|
||||
USE_CXXSTD= gnu++03
|
||||
USE_CXXSTD= gnu++98
|
||||
|
||||
OPTIONS_DEFINE= DOCS NLS
|
||||
OPTIONS_SUB= yes
|
||||
|
|
|
@ -29,7 +29,7 @@ CFLAGS+= -I${LOCALBASE}/include
|
|||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
# The port does not build with C++11 or later (bug 219275).
|
||||
USE_CXXSTD= gnu++03
|
||||
USE_CXXSTD= gnu++98
|
||||
|
||||
PLIST_SUB= VERSION="${PORTVERSION:R}"
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ SDL_CONFIGURE_OFF= --enable-ui=x11
|
|||
.if ${ARCH} == "amd64" || ${ARCH} == "i386"
|
||||
USE_GCC= yes
|
||||
# The port does not build with C++11 or later (bug 219275).
|
||||
USE_CXXSTD= gnu++03
|
||||
USE_CXXSTD= gnu++98
|
||||
.else
|
||||
CONFIGURE_ARGS+= --enable-cpu=generic
|
||||
.endif
|
||||
|
|
|
@ -12,16 +12,12 @@ COMMENT= Morphing engine for MakeHuman
|
|||
|
||||
LICENSE= LGPL21
|
||||
|
||||
BROKEN_mips= fails to compile: unrecognized command line option "-std=gnu++03"
|
||||
BROKEN_mips64= fails to compile: unrecognized command line option "-std=gnu++03"
|
||||
BROKEN_powerpc64= fails to compile: unrecognized command line option "-std=gnu++03"
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES= pkgconfig gmake libtool
|
||||
USE_LDCONFIG= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
USE_GCC= any # otherwise graphics/makehuman won't link
|
||||
USE_CXXSTD= gnu++03 # The port is not compatible with C++11 and later.
|
||||
USE_CXXSTD= gnu++98 # The port is not compatible with C++11 and later.
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
|
|
@ -28,7 +28,7 @@ USE_GCC= any
|
|||
|
||||
# ezbounce 1.99.15 isn't compatible with C++11 and later, which some compilers
|
||||
# such as GCC 6 default to.
|
||||
USE_CXXSTD= gnu++03
|
||||
USE_CXXSTD= gnu++98
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ ALL_TARGET=
|
|||
|
||||
# The port does not build with C++11/C++14, so explicitly use an older
|
||||
# standard.
|
||||
USE_CXXSTD= gnu++03
|
||||
USE_CXXSTD= gnu++98
|
||||
|
||||
INSTALL_ARGS= --bindir=${STAGEDIR}${PREFIX}/bin\
|
||||
--libdir=${STAGEDIR}${PREFIX}/lib/cint\
|
||||
|
|
|
@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
|
|||
|
||||
USES= gmake
|
||||
USE_LDCONFIG= yes
|
||||
MAKE_ENV= prefix=${PREFIX} CFLAGS="-std=c++03"
|
||||
MAKE_ENV= prefix=${PREFIX} CFLAGS="-std=gnu++98"
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} \
|
||||
|
|
|
@ -17,7 +17,7 @@ PLUGIN_DESC= Floodprotect
|
|||
|
||||
# Bug 219281: the port fails to build in C++14 mode (the default in GCC 6),
|
||||
# switch back to the old default GCC used before.
|
||||
USE_CXXSTD= gnu++03
|
||||
USE_CXXSTD= gnu++98
|
||||
|
||||
.include "../verlihub-plugins/Makefile.plugins"
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -31,7 +31,7 @@ PLIST_FILES= man/man1/anytermd.1.gz \
|
|||
|
||||
# Force the use of an older C++ standard; anyterm 1.1.29 is not compatible with
|
||||
# C++11.
|
||||
USE_CXXSTD= gnu++03
|
||||
USE_CXXSTD= gnu++98
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/private/etc/apache2|${FILESDIR}|' \
|
||||
|
|
Loading…
Reference in a new issue