aboutsummaryrefslogtreecommitdiff
path: root/databases/mongodb
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2012-07-13 20:48:50 +0000
committerWesley Shields <wxs@FreeBSD.org>2012-07-13 20:48:50 +0000
commit1af61580a2bd374c2b9207781ca4feaaed489d49 (patch)
treedfab0d81a3a93285679963f1e33a765927e1ba98 /databases/mongodb
parente77a8c104f583c7c2a60212e98dfa78d088cb143 (diff)
downloadports-1af61580a2bd374c2b9207781ca4feaaed489d49.tar.gz
ports-1af61580a2bd374c2b9207781ca4feaaed489d49.zip
Update to 2.0.6.
Convert to optionsNG PR: ports/169548 Approved by: mail@derzinn.de (maintainer timeout)
Notes
Notes: svn path=/head/; revision=300883
Diffstat (limited to 'databases/mongodb')
-rw-r--r--databases/mongodb/Makefile15
-rw-r--r--databases/mongodb/distinfo4
-rw-r--r--databases/mongodb/files/patch-SConstruct20
3 files changed, 14 insertions, 25 deletions
diff --git a/databases/mongodb/Makefile b/databases/mongodb/Makefile
index 324c97f7319a..de8e178124db 100644
--- a/databases/mongodb/Makefile
+++ b/databases/mongodb/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mongodb
-PORTVERSION= 2.0.4
+PORTVERSION= 2.0.6
CATEGORIES= databases net
MASTER_SITES= http://downloads.mongodb.org/src/
DISTNAME= ${PORTNAME}-src-r${PORTVERSION}
@@ -23,8 +23,9 @@ LIB_DEPENDS= boost_system:${PORTSDIR}/devel/boost-libs \
ONLY_FOR_ARCHS= i386 amd64
ONLY_FOR_ARCHS_REASON= "not yet ported to anything other than i386 and amd64"
-OPTIONS= DEVEL "Install development files (library and headers)" off \
- V8 "Use v8 instead of spider monkey for javascript" off
+OPTIONS_DEFINE= DEVEL V8
+DEVEL_DESC= Install development files (library and headers)
+V8_DESC= Use v8 instead of spider monkey for javascript
USE_SCONS= yes
SCONS_TARGET= all
@@ -35,16 +36,16 @@ GROUPS= mongodb
USE_RC_SUBR= mongod
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_DEVEL)
+.if ${PORT_OPTIONS:MDEVEL}
SCONS_ARGS+= --full
PLIST_SUB+= DEVEL=""
.else
PLIST_SUB+= DEVEL="@comment "
.endif
-.if defined(WITH_V8)
+.if ${PORT_OPTIONS:MV8}
SCONS_ARGS+= --usev8
LIB_DEPENDS+= v8:${PORTSDIR}/lang/v8
.else
@@ -57,4 +58,4 @@ post-install:
${TOUCH} ${PREFIX}/etc/mongodb.conf ; \
fi
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/databases/mongodb/distinfo b/databases/mongodb/distinfo
index d8f6e480922e..805de42506ca 100644
--- a/databases/mongodb/distinfo
+++ b/databases/mongodb/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mongodb-src-r2.0.4.tar.gz) = 65296df2777778f49a72513483d048f271339683c89d676b80e76687496a38f9
-SIZE (mongodb-src-r2.0.4.tar.gz) = 2966431
+SHA256 (mongodb-src-r2.0.6.tar.gz) = a972725a7dc3d079f8070d3631956141a7fe2f422d350e6cd3288c9e19fa314e
+SIZE (mongodb-src-r2.0.6.tar.gz) = 2973489
diff --git a/databases/mongodb/files/patch-SConstruct b/databases/mongodb/files/patch-SConstruct
index 95679a976cd0..ee7af5336537 100644
--- a/databases/mongodb/files/patch-SConstruct
+++ b/databases/mongodb/files/patch-SConstruct
@@ -1,18 +1,6 @@
---- SConstruct.orig 2012-03-21 22:02:02.000000000 +0100
-+++ SConstruct 2012-03-21 23:21:09.000000000 +0100
-@@ -714,7 +714,10 @@
-
- #make scons colorgcc friendly
- env['ENV']['HOME'] = os.environ['HOME']
-- env['ENV']['TERM'] = os.environ['TERM']
-+ try:
-+ env['ENV']['TERM'] = os.environ['TERM']
-+ except KeyError:
-+ env['ENV']['TERM'] = 'dumb'
-
- if linux and has_option( "sharedclient" ):
- env.Append( LINKFLAGS=" -Wl,--as-needed -Wl,-zdefs " )
-@@ -797,8 +800,9 @@
+--- ./SConstruct.orig 2012-06-29 09:53:07.000000000 -0400
++++ ./SConstruct 2012-06-29 10:34:03.000000000 -0400
+@@ -800,8 +800,9 @@
options_topass["nix"] = nix
if has_option( "use-system-" + shortName ) or has_option( "use-system-all" ):
@@ -24,7 +12,7 @@
else:
myModule.configure( env , fileLists , options_topass )
-@@ -1458,7 +1462,7 @@
+@@ -1461,7 +1462,7 @@
fullInstallName = installDir + "/bin/" + name
allBinaries += [ name ]