Skip to content

Commit

Permalink
libart_lgpl: Don't create flat-namespace dylib on Yosemite
Browse files Browse the repository at this point in the history
Also add openmaintainer.

Closes: https://trac.macports.org/ticket/53531
  • Loading branch information
ryandesign committed Feb 11, 2017
1 parent 8a0f186 commit 58552b3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
5 changes: 3 additions & 2 deletions graphics/libart_lgpl/Portfile
Expand Up @@ -2,11 +2,12 @@ PortSystem 1.0

name libart_lgpl
version 2.3.21
revision 1
set branch [join [lrange [split ${version} .] 0 1] .]
categories graphics
license LGPL-2+
platforms darwin
maintainers toby
maintainers toby openmaintainer
description fast 2D image manipulation library

long_description \
Expand All @@ -28,7 +29,7 @@ checksums md5 08559ff3c67fd95d57b0c5e91a6b4302 \
sha1 dbac185c65696381ef188de1f98b348b530e22f9 \
rmd160 ed40181ffc9d6646630c1db64532217acf7dd036

patchfiles patch-Makefile.in patch-art_config.h
patchfiles patch-Makefile.in patch-art_config.h yosemite-libtool.patch

use_parallel_build yes

Expand Down
12 changes: 12 additions & 0 deletions graphics/libart_lgpl/files/yosemite-libtool.patch
@@ -0,0 +1,12 @@
Don't accidentally create flat-namespace dylibs on Yosemite (#44596).
--- configure.orig 2010-04-01 08:39:46.000000000 -0500
+++ configure 2017-02-10 05:33:26.000000000 -0600
@@ -6944,7 +6944,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 58552b3

Please sign in to comment.