- Remove ACLOCAL_ARGS and AUTOMAKE_ARGS. Not needed with USES=autoreconf.
- Replace CXXFLAGS+=-std=c++11 with USE_CXXSTD.
This commit is contained in:
parent
5091ffd420
commit
5a09dcc24d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=388498
1 changed files with 2 additions and 9 deletions
|
@ -30,12 +30,11 @@ RUN_DEPENDS= zip:${PORTSDIR}/archivers/zip \
|
|||
growisofs:${PORTSDIR}/sysutils/dvd+rw-tools
|
||||
|
||||
USES= autoreconf compiler:c++11-lib gettext gmake pkgconfig tar:bzip2
|
||||
USE_CXXSTD= gnu++11
|
||||
USE_WX= 3.0
|
||||
GNU_CONFIGURE= yes
|
||||
WX_UNICODE= yes
|
||||
WX_CONF_ARGS= absolute
|
||||
ACLOCAL_ARGS= -I ${WRKSRC}
|
||||
AUTOMAKE_ARGS= --add-missing --copy --force-missing --foreign
|
||||
CONFIGURE_ENV= ac_cv_path_AVCONV_PATH="" OBJCXX="${CXX}"
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
|
@ -46,18 +45,12 @@ OPTIONS_DEFINE= DOCS GNOME
|
|||
GNOME_USE= GNOME=libgnomeui
|
||||
GNOME_CONFIGURE_WITH= gnome
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_DVD_DEVICE)
|
||||
DEFAULT_DVD_DEVICE=${WITH_DVD_DEVICE}
|
||||
.else
|
||||
DEFAULT_DVD_DEVICE=/dev/cd0
|
||||
.endif
|
||||
|
||||
.if ${CHOSEN_COMPILER_TYPE} == "gcc"
|
||||
CXXFLAGS+= -std=c++11
|
||||
.endif
|
||||
|
||||
pre-everything::
|
||||
.if !defined(WITH_DVD_DEVICE)
|
||||
@${ECHO_MSG} "===>"
|
||||
|
@ -76,4 +69,4 @@ post-patch:
|
|||
@${REINPLACE_CMD} -e 's|/dev/dvd|${DEFAULT_DVD_DEVICE}|g' \
|
||||
${WRKSRC}/src/Config.h
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue