Need a C++11/14 compiler

This commit is contained in:
jca 2017-12-14 06:44:23 +00:00
parent 257f4a5f24
commit f4584fe707
2 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.20 2017/11/16 18:39:25 naddy Exp $
# $OpenBSD: Makefile,v 1.21 2017/12/14 06:44:23 jca Exp $
COMMENT = Qt port of the Scintilla source code editor
@ -22,6 +22,9 @@ MODULES = devel/qmake
FLAVORS = qt5
FLAVOR?=
# C++11 (at least)
COMPILER= base-clang ports-clang ports-gcc
.if ${FLAVOR} == "qt5"
FULLPKGNAME = qscintilla-qt5-${VERSION}
QTVER = qt5

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.26 2017/11/01 17:01:23 jeremy Exp $
# $OpenBSD: Makefile,v 1.27 2017/12/14 06:44:23 jca Exp $
COMMENT= source code editing component for GTK+
@ -30,6 +30,9 @@ MAKE_ENV= CXX='${CXX}' CXXFLAGS='${CXXFLAGS}' \
WANTLIB= m ${COMPILER_LIBCXX}
# -std=gnu++14
COMPILER= base-clang ports-clang ports-gcc
# Not LIB_DEPENDS as it's only shared libraries that don't link directly
# to gtk+3
BUILD_DEPENDS= x11/gtk+3