Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
libbson: Update to 1.6.0
Use muniversal because configure script checks endianness.

Add yosemite-libtool.patch just in case.
  • Loading branch information
ryandesign committed Feb 9, 2017
1 parent 8b21edc commit 1028d23
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
11 changes: 8 additions & 3 deletions devel/libbson/Portfile
Expand Up @@ -2,8 +2,9 @@

PortSystem 1.0
PortGroup github 1.0
PortGroup muniversal 1.0

github.setup mongodb libbson 1.5.4
github.setup mongodb libbson 1.6.0
categories devel
platforms darwin
maintainers ryandesign openmaintainer
Expand All @@ -16,7 +17,11 @@ long_description ${name} is a library providing useful routines related to \

github.tarball_from releases

checksums rmd160 ba394f85177ccc83642964343b13e3dee8375ca2 \
sha256 57cd0f52088a393f8326e08adf12c8fd04b36de6de672b4031371dfb32b83c4f
checksums rmd160 c2cb5e4a7416356bc86a63c83733fe8e68ab38a6 \
sha256 827b974da1b2eb387e026f5efb7ac7802b87173562cc65ac95b0d332cbdf8d15

patchfiles yosemite-libtool.patch

use_autoreconf yes

configure.args --disable-silent-rules
12 changes: 12 additions & 0 deletions devel/libbson/files/yosemite-libtool.patch
@@ -0,0 +1,12 @@
Don't accidentally create flat-namespace dylibs on Yosemite (#44596).
--- build/autotools/m4/libtool.m4.orig
+++ build/autotools/m4/libtool.m4
@@ -1052,7 +1052,7 @@ _LT_EOF
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 1028d23

Please sign in to comment.