Skip to content

Commit

Permalink
liblo: update to 0.31
Browse files Browse the repository at this point in the history
* add revision and remove platforms line
* use HTTPS for homepage
* fix macOS 11+ libtool bug
  • Loading branch information
aeiouaeiouaeiouaeiouaeiouaeiou authored and herbygillot committed Oct 1, 2022
1 parent 6160218 commit 55046b3
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 5 deletions.
13 changes: 8 additions & 5 deletions audio/liblo/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,22 @@ PortSystem 1.0

name liblo
epoch 1
version 0.28
version 0.31
revision 0
categories audio
platforms darwin
maintainers nomaintainer
license LGPL-2.1
description Lightweight Open Sound Control implementation.
long_description liblo is an implementation of the Open Sound Control \
protocol for POSIX systems.
homepage http://liblo.sourceforge.net/
homepage https://liblo.sourceforge.net/
master_sites sourceforge:project/liblo/liblo/${version}

checksums rmd160 473806e0ca5d383ee07d657103f43c7f90ff7b15 \
sha256 da94a9b67b93625354dd89ff7fe31e5297fc9400b6eaf7378c82ee1caf7db909
checksums rmd160 44efae4da54fdb833c53bda5b07d10ef4a4be0dd \
sha256 2b4f446e1220dcd624ecd8405248b08b7601e9a0d87a0b94730c2907dbccc750 \
size 643928

patchfiles dynamic_lookup-11.patch

# Does not have dependencies, so does not need -I flag, and -I flag causes configure error with clang
# https://sourceforge.net/p/liblo/bugs/34/
Expand Down
25 changes: 25 additions & 0 deletions audio/liblo/files/dynamic_lookup-11.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Recognize macOS 11 and later.
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=44605
--- configure.orig
+++ configure
@@ -8004,16 +8004,11 @@
_lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
darwin1.*)
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
- darwin*) # darwin 5.x on
- # 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][,.]*)
+ darwin*)
+ case ${MACOSX_DEPLOYMENT_TARGET},$host in
+ 10.[012],*|,*powerpc*)
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
- 10.*)
+ *)
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
esac
;;

0 comments on commit 55046b3

Please sign in to comment.