pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/doxygen doxygen: CMakeLists sets -std=c++14 so w...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8d1e9e283c46
branches:  trunk
changeset: 441058:8d1e9e283c46
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Oct 25 04:42:43 2020 +0000

description:
doxygen: CMakeLists sets -std=c++14 so we don't need it in USE_LANGUAGES

Just set a minimum GCC_REQD to 5 for c++14 support so the correct
compiler gets picked

diffstat:

 devel/doxygen/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r a7a5fdf86d64 -r 8d1e9e283c46 devel/doxygen/Makefile
--- a/devel/doxygen/Makefile    Sun Oct 25 04:36:53 2020 +0000
+++ b/devel/doxygen/Makefile    Sun Oct 25 04:42:43 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.150 2020/10/04 09:45:26 ryoon Exp $
+# $NetBSD: Makefile,v 1.151 2020/10/25 04:42:43 nia Exp $
 
 DISTNAME=      doxygen-1.8.20.src
 PKGNAME=       ${DISTNAME:S/.src//}
@@ -16,8 +16,10 @@
 UNLIMIT_RESOURCES+=    datasize
 # doxygen upstream uses this version of flex
 FLEX_REQD=             2.5.35
+# Uses -std=c++14
+GCC_REQD+=             5
 USE_CMAKE=             yes
-USE_LANGUAGES=         c c++14
+USE_LANGUAGES=         c c++
 USE_TOOLS+=            gmake gs:run perl:run bison flex
 MAKE_ENV+=             PKGSRC_CFLAGS=${CFLAGS:Q}
 MAKE_FLAGS+=           MAN1DIR=${PKGMANDIR}/man1



Home | Main Index | Thread Index | Old Index