diff options
author | tnn <tnn@pkgsrc.org> | 2019-01-02 20:25:00 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2019-01-02 20:25:00 +0000 |
commit | 35d1b03398d793a395847382d8de515500317e30 (patch) | |
tree | 533b2eece5406b2aba6a41ef9759d31250164459 | |
parent | 2efeb4f215fd280f08b516252bb349e0e83e60d8 (diff) | |
download | pkgsrc-35d1b03398d793a395847382d8de515500317e30.tar.gz |
mongodb: catch up with scons update
-rw-r--r-- | databases/mongodb/Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/databases/mongodb/Makefile b/databases/mongodb/Makefile index 0536f49ad1a..0a560d01249 100644 --- a/databases/mongodb/Makefile +++ b/databases/mongodb/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.31 2018/12/13 19:51:44 adam Exp $ +# $NetBSD: Makefile,v 1.32 2019/01/02 20:25:00 tnn Exp $ DISTNAME= mongodb-src-r3.4.4 PKGNAME= ${DISTNAME:S/src-r//:S/-rc/rc/} @@ -19,9 +19,6 @@ EXTRACT_USING= bsdtar NO_CONFIGURE= yes USE_LANGUAGES= c c++ -BUILD_DEPENDS+= scons-[0-9]*:../../devel/scons - -SCONS_BIN= ${PREFIX}/bin/scons SCONS_ARGS= ${_MAKE_JOBS} SCONS_ARGS+= --use-system-boost SCONS_ARGS+= --use-system-pcre @@ -36,6 +33,11 @@ PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 37 # not yet supported as of 3.0.4 .include "../../mk/bsd.prefs.mk" +# XXX this doesn't work for some reason +#.if !empty(INSTALL_UNSTRIPPED:Uno:M[Yy][Ee][Ss]) +#SCONS_ARGS+= --nostrip +#.endif + GCC_REQD+= 5.3.0 CPPFLAGS+= -fno-jump-tables @@ -111,10 +113,10 @@ post-extract: ${WRKSRC}/src/mongo/db/ftdc/ftdc_system_stats_netbsd.cpp do-build: - cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SCONS_BIN} ${SCONS_ARGS} core + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SCONSBIN} ${SCONS_ARGS} core do-install: - cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SCONS_BIN} ${SCONS_ARGS} \ + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SCONSBIN} ${SCONS_ARGS} \ --prefix=${DESTDIR}${PREFIX} install do-test: @@ -134,6 +136,7 @@ post-install: .include "../../devel/py-boost/buildlink3.mk" .include "../../devel/libexecinfo/buildlink3.mk" .include "../../devel/pcre/buildlink3.mk" +.include "../../devel/scons/buildlink3.mk" .include "../../devel/snappy/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../net/libpcap/buildlink3.mk" |