py27-eggtrayicon: fix libtool macOS version detection

This commit is contained in:
Joshua Root
2023-12-11 06:10:04 +11:00
parent f4b2926753
commit 1e3534fea9
2 changed files with 24 additions and 3 deletions
+3 -3
View File
@@ -8,11 +8,10 @@ revision 2
categories gnome python
license LGPL
platforms darwin
maintainers nomaintainer
description "Extra" Python modules for some GNOME Desktop libraries.
long_description ${description}
long_description {*}${description}
homepage http://www.pygtk.org/
@@ -32,7 +31,8 @@ use_bzip2 yes
depends_build port:pkgconfig
depends_lib port:py27-pygtk
patchfiles patch-configure.diff
patchfiles patch-configure.diff \
dynamic_lookup-11.patch
configure.args-append --disable-allbindings --enable-eggtray
@@ -0,0 +1,21 @@
--- configure.orig 2009-02-16 09:21:00
+++ configure 2023-12-11 06:06:50
@@ -7952,15 +7952,10 @@
darwin1.*)
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
darwin*)
- # if running on 10.5 or later, the deployment target defaults
- # to the OS version, if on x86, and 10.4, the deployment
- # target defaults to 10.4. Don't you love it?
- 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]*)
+ case $MACOSX_DEPLOYMENT_TARGET,$host in
+ 10.[012],*|,*powerpc*-darwin[5-8]*)
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
- 10.*)
+ *)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
esac
;;