Skip to content

Commit

Permalink
mongo-c-driver: Update to 1.6.0
Browse files Browse the repository at this point in the history
Add yosemite-libtool.patch just in case.
  • Loading branch information
ryandesign committed Feb 9, 2017
1 parent 1028d23 commit af4f203
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
8 changes: 5 additions & 3 deletions devel/mongo-c-driver/Portfile
Expand Up @@ -3,7 +3,7 @@
PortSystem 1.0
PortGroup github 1.0

github.setup mongodb mongo-c-driver 1.5.4
github.setup mongodb mongo-c-driver 1.6.0
categories devel databases
platforms darwin
maintainers ryandesign openmaintainer
Expand All @@ -15,15 +15,17 @@ long_description ${name} is a ${description}.

github.tarball_from releases

checksums rmd160 122ffcf2d1d4e9064cc75fdc3415d6367adf87c6 \
sha256 8a0f908ac06619d8074acccd2e26443663ba6effbc4326959db6925cedb4aebb
checksums rmd160 8b500a85fddc6db5d6256d04a8c7eca9e039ebf1 \
sha256 d15fe571fb6b0331ceb9139ad724429fef0fdc0444900d7ebd6841590f4f8783

depends_build port:pkgconfig

depends_lib port:cyrus-sasl2 \
port:libbson \
path:lib/libssl.dylib:openssl

patchfiles yosemite-libtool.patch

configure.args --disable-silent-rules \
--enable-sasl \
--enable-ssl \
Expand Down
12 changes: 12 additions & 0 deletions devel/mongo-c-driver/files/yosemite-libtool.patch
@@ -0,0 +1,12 @@
Don't accidentally create flat-namespace dylibs on Yosemite (#44596).
--- configure.orig 2017-02-01 19:46:42.000000000 -0600
+++ configure 2017-02-09 08:10:08.000000000 -0600
@@ -8429,7 +8429,7 @@
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
- 10.[012]*)
+ 10.[012][,.]*)
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10.*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;

0 comments on commit af4f203

Please sign in to comment.