Ticket #13959: perl5.8_universal.diff

File perl5.8_universal.diff, 1.9 KB (added by reiffert@…, 16 years ago)
  • perl5.8/Portfile

    diff -Naur /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8/Portfile perl5.8/Portfile
    old new  
    1010maintainers     nomaintainer
    1111description     Perl 5.8.x - Practical Extraction and Report Language
    1212
     13configure.universal_args        { -Accflags="-arch i386 -arch ppc -nostdinc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc \
     14                -B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include \
     15                -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks" \
     16                -Aldflags="-arch i386 -arch ppc -L/usr/lib -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" \
     17                -de
     18                }
     19
     20variant universal { patchfiles-append patch-hints_darwin_universal.sh.diff }
     21
    1322long_description \
    1423    Perl is a general-purpose programming language originally developed \
    1524    for text manipulation and now used for a wide range of tasks including \
  • perl5.8/files/patch-hints_darwin_universal.sh.diff

    diff -Naur /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8/files/patch-hints_darwin_universal.sh.diff perl5.8/files/patch-hints_darwin_universal.sh.diff
    old new  
     1--- hints/darwin.sh.orig        2008-01-16 23:02:34.000000000 +0100
     2+++ hints/darwin.sh     2008-01-16 23:02:44.000000000 +0100
     3@@ -235,6 +235,10 @@
     4 # /usr/lib/libdl, so remove libbind
     5 libswanted=`echo $libswanted | sed 's/ bind / /'`
     6 
     7+# When building a universal binary, remove the util lib, as -lutil
     8+# does not ship with 10.4 SDK and is not available on tiger
     9+libswanted=`echo $libswanted | sed 's/ util / /'`
     10+
     11 ##
     12 # System libraries
     13 ##