pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/mongodb databases/mongodb: Improve USE_LANGU...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b900211846ef
branches:  trunk
changeset: 335663:b900211846ef
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Wed Jun 26 16:39:59 2019 +0000

description:
databases/mongodb: Improve USE_LANGUAGES

mongodb requires C++14; change from c++ to c++14.  It also seems to
require C11, but c11 seems not to be recognized by USE_LANGUAGES, so
change c to c99 and add a comment.

PKGREVISION in case there's anyplace this builds.

diffstat:

 databases/mongodb/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r 053a6fb151ff -r b900211846ef databases/mongodb/Makefile
--- a/databases/mongodb/Makefile        Wed Jun 26 13:23:43 2019 +0000
+++ b/databases/mongodb/Makefile        Wed Jun 26 16:39:59 2019 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.35 2019/04/25 07:32:41 maya Exp $
+# $NetBSD: Makefile,v 1.36 2019/06/26 16:39:59 gdt Exp $
 
 DISTNAME=      mongodb-src-r4.0.6
 PKGNAME=       ${DISTNAME:S/src-r//}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    databases
 MASTER_SITES=  http://fastdl.mongodb.org/src/
 
@@ -22,7 +22,8 @@
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
 
 NO_CONFIGURE=  yes
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c99 c++14
+# USE_LANGUAGES+=      c11
 USE_TOOLS+=    pkg-config
 
 SCONS_ARGS=    ${_MAKE_JOBS}



Home | Main Index | Thread Index | Old Index