View | Details | Raw Unified | Return to bug 169548
Collapse All | Expand All

(-)Makefile (-7 / +8 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	mongodb
8
PORTNAME=	mongodb
9
PORTVERSION=	2.0.4
9
PORTVERSION=	2.0.6
10
CATEGORIES=	databases net
10
CATEGORIES=	databases net
11
MASTER_SITES=	http://downloads.mongodb.org/src/
11
MASTER_SITES=	http://downloads.mongodb.org/src/
12
DISTNAME=	${PORTNAME}-src-r${PORTVERSION}
12
DISTNAME=	${PORTNAME}-src-r${PORTVERSION}
Lines 23-30 Link Here
23
ONLY_FOR_ARCHS=	i386 amd64
23
ONLY_FOR_ARCHS=	i386 amd64
24
ONLY_FOR_ARCHS_REASON=	"not yet ported to anything other than i386 and amd64"
24
ONLY_FOR_ARCHS_REASON=	"not yet ported to anything other than i386 and amd64"
25
25
26
OPTIONS=	DEVEL "Install development files (library and headers)" off \
26
OPTIONS_DEFINE=	DEVEL V8
27
		V8 "Use v8 instead of spider monkey for javascript" off
27
DEVEL_DESC=	Install development files (library and headers)
28
V8_DESC=	Use v8 instead of spider monkey for javascript
28
29
29
USE_SCONS=	yes
30
USE_SCONS=	yes
30
SCONS_TARGET=	all
31
SCONS_TARGET=	all
Lines 35-50 Link Here
35
36
36
USE_RC_SUBR=	mongod
37
USE_RC_SUBR=	mongod
37
38
38
.include <bsd.port.pre.mk>
39
.include <bsd.port.options.mk>
39
40
40
.if defined(WITH_DEVEL)
41
.if ${PORT_OPTIONS:MDEVEL}
41
SCONS_ARGS+=	--full
42
SCONS_ARGS+=	--full
42
PLIST_SUB+=	DEVEL=""
43
PLIST_SUB+=	DEVEL=""
43
.else
44
.else
44
PLIST_SUB+=	DEVEL="@comment "
45
PLIST_SUB+=	DEVEL="@comment "
45
.endif
46
.endif
46
47
47
.if defined(WITH_V8)
48
.if ${PORT_OPTIONS:MV8}
48
SCONS_ARGS+=	--usev8
49
SCONS_ARGS+=	--usev8
49
LIB_DEPENDS+=	v8:${PORTSDIR}/lang/v8
50
LIB_DEPENDS+=	v8:${PORTSDIR}/lang/v8
50
.else
51
.else
Lines 57-60 Link Here
57
		${TOUCH} ${PREFIX}/etc/mongodb.conf ; \
58
		${TOUCH} ${PREFIX}/etc/mongodb.conf ; \
58
	fi
59
	fi
59
60
60
.include <bsd.port.post.mk>
61
.include <bsd.port.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (mongodb-src-r2.0.4.tar.gz) = 65296df2777778f49a72513483d048f271339683c89d676b80e76687496a38f9
1
SHA256 (mongodb-src-r2.0.6.tar.gz) = a972725a7dc3d079f8070d3631956141a7fe2f422d350e6cd3288c9e19fa314e
2
SIZE (mongodb-src-r2.0.4.tar.gz) = 2966431
2
SIZE (mongodb-src-r2.0.6.tar.gz) = 2973489
(-)files/patch-SConstruct (-16 / +4 lines)
Lines 1-18 Link Here
1
--- SConstruct.orig	2012-03-21 22:02:02.000000000 +0100
1
--- ./SConstruct.orig	2012-06-29 09:53:07.000000000 -0400
2
+++ SConstruct	2012-03-21 23:21:09.000000000 +0100
2
+++ ./SConstruct	2012-06-29 10:34:03.000000000 -0400
3
@@ -714,7 +714,10 @@
3
@@ -800,8 +800,9 @@
4
 
5
     #make scons colorgcc friendly
6
     env['ENV']['HOME'] = os.environ['HOME']
7
-    env['ENV']['TERM'] = os.environ['TERM']
8
+    try:
9
+        env['ENV']['TERM'] = os.environ['TERM']
10
+    except KeyError:
11
+        env['ENV']['TERM'] = 'dumb'
12
 
13
     if linux and has_option( "sharedclient" ):
14
         env.Append( LINKFLAGS=" -Wl,--as-needed -Wl,-zdefs " )
15
@@ -797,8 +800,9 @@
16
     options_topass["nix"] = nix
4
     options_topass["nix"] = nix
17
     
5
     
18
     if has_option( "use-system-" + shortName ) or has_option( "use-system-all" ):
6
     if has_option( "use-system-" + shortName ) or has_option( "use-system-all" ):
Lines 24-30 Link Here
24
     else:
12
     else:
25
         myModule.configure( env , fileLists , options_topass )
13
         myModule.configure( env , fileLists , options_topass )
26
 
14
 
27
@@ -1458,7 +1462,7 @@
15
@@ -1461,7 +1462,7 @@
28
     fullInstallName = installDir + "/bin/" + name
16
     fullInstallName = installDir + "/bin/" + name
29
 
17
 
30
     allBinaries += [ name ]
18
     allBinaries += [ name ]

Return to bug 169548