diff -Naur /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8/Portfile perl5.8/Portfile
old
|
new
|
|
10 | 10 | maintainers nomaintainer |
11 | 11 | description Perl 5.8.x - Practical Extraction and Report Language |
12 | 12 | |
| 13 | configure.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 | |
| 20 | variant universal { patchfiles-append patch-hints_darwin_universal.sh.diff } |
| 21 | |
13 | 22 | long_description \ |
14 | 23 | Perl is a general-purpose programming language originally developed \ |
15 | 24 | for text manipulation and now used for a wide range of tasks including \ |
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 | ## |