mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@40797 d073be05-634f-4543-b044-5fe20cf6d1d6
23 lines
1.3 KiB
Plaintext
23 lines
1.3 KiB
Plaintext
--- autodeps/darwin.prov 2005-01-04 09:41:39.000000000 -0800
|
|
+++ autodeps/darwin.prov 2007-06-13 10:52:54.000000000 -0700
|
|
@@ -5,7 +5,7 @@
|
|
# This script reads filenames from STDIN and outputs any relevant provides
|
|
# information that needs to be included in the package.
|
|
|
|
-filelist=$(sed -n -e '/\.dylib/p' -e '/\.so/p' -e '/\.bundle/p' | sort | uniq | xargs file -L 2>/dev/null | grep "Mach-O.*ppc" | cut -d: -f1)
|
|
+filelist=$(sed -n -e '/\.dylib/p' -e '/\.so/p' -e '/\.bundle/p' -e '/\.jnilib/p' | sort | uniq | xargs file -L 2>/dev/null | grep "Mach-O.*" | cut -d: -f1)
|
|
|
|
for f in $filelist; do
|
|
libname=$(basename $f | sed -e 's;\..*;;')
|
|
--- autodeps/darwin.prov.orig 2005-01-05 02:27:32.000000000 +0900
|
|
+++ autodeps/darwin.prov 2005-11-30 16:20:26.000000000 +0900
|
|
@@ -5,7 +5,7 @@
|
|
# This script reads filenames from STDIN and outputs any relevant provides
|
|
# information that needs to be included in the package.
|
|
|
|
-filelist=$(sed -n -e '/\.dylib/p' -e '/\.so/p' -e '/\.bundle/p' -e '/\.jnilib/p' | sort | uniq | xargs file -L 2>/dev/null | grep "Mach-O.*" | cut -d: -f1)
|
|
+filelist=$(sed -n -e '/\.dylib/p' -e '/\.so/p' -e '/\.bundle/p' -e '/\.jnilib/p' | sort | uniq | xargs file -L 2>/dev/null | grep "Mach-O.*" | cut -d: -f1 | sed -e 's/.*(for architecture .*)$//' | sort | uniq)
|
|
|
|
for f in $filelist; do
|
|
libname=$(basename $f | sed -e 's;\..*;;')
|