Skip to content

Commit

Permalink
cracklib: Don't create flat-namespace dylib on Yosemite
Browse files Browse the repository at this point in the history
  • Loading branch information
ryandesign committed Feb 10, 2017
1 parent 86fc50b commit c94a953
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions security/cracklib/Portfile
Expand Up @@ -4,6 +4,7 @@ PortSystem 1.0

name cracklib
version 2.9.5
revision 1
categories security
license LGPL-2.1
maintainers nomaintainer
Expand All @@ -25,6 +26,8 @@ master_sites sourceforge:project/cracklib/cracklib/${version}
checksums rmd160 f9c98963dcc6014f568d4c781853ad4f80312a74 \
sha256 59ab0138bc8cf90cccb8509b6969a024d5e58d2d02bcbdccbb9ba9b88be3fa33

patchfiles yosemite-libtool.patch

configure.args-append --without-python

post-build {
Expand Down
12 changes: 12 additions & 0 deletions security/cracklib/files/yosemite-libtool.patch
@@ -0,0 +1,12 @@
Don't accidentally create flat-namespace dylibs on Yosemite (#44596).
--- configure.orig 2015-07-13 10:17:51.000000000 -0500
+++ configure 2017-02-10 06:21:32.000000000 -0600
@@ -7007,7 +7007,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 c94a953

Please sign in to comment.