Ignore:
Timestamp:
Oct 15, 2008, 8:08:26 AM (11 years ago)
Author:
afb@…
Message:

add patch from OSXWS to strip prov arch

Location:
trunk/dports/sysutils/rpm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/rpm/Portfile

    r40719 r40797  
    55name                    rpm
    66version                 4.4.9
    7 revision                7
     7revision                8
    88platforms               darwin freebsd linux
    99categories              sysutils archivers
  • trunk/dports/sysutils/rpm/files/patch-darwin.prov

    r26658 r40797  
    1010 for f in $filelist; do
    1111     libname=$(basename $f | sed -e 's;\..*;;')
     12--- autodeps/darwin.prov.orig   2005-01-05 02:27:32.000000000 +0900
     13+++ autodeps/darwin.prov        2005-11-30 16:20:26.000000000 +0900
     14@@ -5,7 +5,7 @@
     15 # This script reads filenames from STDIN and outputs any relevant provides
     16 # information that needs to be included in the package.
     17 
     18-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)
     19+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)
     20 
     21 for f in $filelist; do
     22     libname=$(basename $f | sed -e 's;\..*;;')
Note: See TracChangeset for help on using the changeset viewer.