mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Unbreak five wxgtk30-based ports by adding -std=c++11 to cxxflags
The breakage was a result of moving wxgtk30 to c++11 from c++01
This commit is contained in:
parent
923cf2f9b6
commit
637a8c132c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=383750
5 changed files with 6 additions and 1 deletions
|
@ -27,6 +27,7 @@ USES= cmake compiler:c++11-lib display:build dos2unix lua openal:al,alut pkgcon
|
||||||
USE_GL= glew gl glu
|
USE_GL= glew gl glu
|
||||||
USE_SDL= yes
|
USE_SDL= yes
|
||||||
USE_WX= 3.0
|
USE_WX= 3.0
|
||||||
|
USE_CXXSTD= c++11
|
||||||
WX_UNICODE= yes
|
WX_UNICODE= yes
|
||||||
|
|
||||||
CFLAGS+= -I${LOCALBASE}/include
|
CFLAGS+= -I${LOCALBASE}/include
|
||||||
|
|
|
@ -15,6 +15,7 @@ LICENSE= GPLv3
|
||||||
USES= gmake
|
USES= gmake
|
||||||
MAKE_ARGS= CXX="${CXX}" WXCONFIG="${WX_CONFIG}"
|
MAKE_ARGS= CXX="${CXX}" WXCONFIG="${WX_CONFIG}"
|
||||||
USE_WX= 3.0
|
USE_WX= 3.0
|
||||||
|
USE_CXXSTD= c++11
|
||||||
WX_UNICODE= yes
|
WX_UNICODE= yes
|
||||||
|
|
||||||
PLIST_FILES= bin/${PORTNAME}
|
PLIST_FILES= bin/${PORTNAME}
|
||||||
|
|
|
@ -18,6 +18,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||||
|
|
||||||
USES= pkgconfig
|
USES= pkgconfig
|
||||||
USE_WX= 3.0
|
USE_WX= 3.0
|
||||||
|
USE_CXXSTD= c++11
|
||||||
WX_UNICODE= yes
|
WX_UNICODE= yes
|
||||||
WX_CONF_ARGS= absolute
|
WX_CONF_ARGS= absolute
|
||||||
USE_AUTOTOOLS= libtoolize aclocal automake autoconf
|
USE_AUTOTOOLS= libtoolize aclocal automake autoconf
|
||||||
|
|
|
@ -20,7 +20,8 @@ WX_UNICODE= yes
|
||||||
WX_CONF_ARGS= absolute
|
WX_CONF_ARGS= absolute
|
||||||
USE_GNOME= cairo
|
USE_GNOME= cairo
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ENV= LIBAV_CFLAGS="${LIBAV_CFLAGS}" LIBAV_LIBS="${LIBAV_LIBS}"
|
CONFIGURE_ENV= LIBAV_CFLAGS="${LIBAV_CFLAGS}" LIBAV_LIBS="${LIBAV_LIBS}" \
|
||||||
|
CXXFLAGS="${CXXFLAGS} -std=c++11"
|
||||||
MAKE_ENV= AM_CPPFLAGS="${LIBAV_CFLAGS}"
|
MAKE_ENV= AM_CPPFLAGS="${LIBAV_CFLAGS}"
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
INSTALL_TARGET= install-strip
|
INSTALL_TARGET= install-strip
|
||||||
|
|
|
@ -14,6 +14,7 @@ LICENSE= GPLv2
|
||||||
USES= compiler:c++11-lib
|
USES= compiler:c++11-lib
|
||||||
USE_GNOME= gtk20
|
USE_GNOME= gtk20
|
||||||
USE_WX= 3.0
|
USE_WX= 3.0
|
||||||
|
USE_CXXSTD= c+=11
|
||||||
WX_CONF_ARGS= absolute
|
WX_CONF_ARGS= absolute
|
||||||
WX_UNICODE= yes
|
WX_UNICODE= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
|
Loading…
Add table
Reference in a new issue