diff -Naur /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8/Portfile perl5.8/Portfile
--- /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8/Portfile	2008-01-13 12:14:46.000000000 +0100
+++ perl5.8/Portfile	2008-01-17 01:26:13.000000000 +0100
@@ -64,6 +64,21 @@
     configure.post_args-append  -Dcc=/usr/bin/gcc-4.0
 }
 
+variant universal { 
+			
+	configure.post_args-append -Accflags="-arch i386 -arch ppc -nostdinc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc \
+		-B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include \
+		-F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks" \
+		-Aldflags="-arch i386 -arch ppc -L/usr/lib -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" \
+		-de 
+	pre-configure {
+        	reinplace "s|MACOSX_DEPLOYMENT_TARGET=10.3|MACOSX_DEPLOYMENT_TARGET=10.4|g" "${worksrcpath}/hints/darwin.sh"
+	}
+	macosx_deployment_target	{10.4} 
+	patchfiles-delete patch-hints_darwin.sh
+	patchfiles-append patch-hints_darwin_universal.sh.diff
+}
+
 livecheck.check regex
 livecheck.url   ${master_sites}
 livecheck.regex latest_is_(\\d+(?:\\.\\d+)*)
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
--- /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8/files/patch-hints_darwin_universal.sh.diff	1970-01-01 01:00:00.000000000 +0100
+++ perl5.8/files/patch-hints_darwin_universal.sh.diff	2008-01-17 01:25:13.000000000 +0100
@@ -0,0 +1,26 @@
+--- /Users/thomas/perl-5.8.8/hints/darwin.sh	2005-09-18 17:13:41.000000000 +0200
++++ hints/darwin.sh	2008-01-17 01:24:54.000000000 +0100
+@@ -173,7 +173,7 @@
+    lddlflags="${ldflags} -bundle -undefined suppress"
+    ;;
+ *) 
+-   lddlflags="${ldflags} -bundle -undefined dynamic_lookup"
++   lddlflags="${ldflags} -arch i386 -arch ppc -bundle -undefined dynamic_lookup"
+    case "$ld" in
+        *MACOSX_DEVELOPMENT_TARGET*) ;;
+        *) ld="env MACOSX_DEPLOYMENT_TARGET=10.3 ${ld}" ;;
+@@ -231,6 +231,14 @@
+ esac
+ fi
+ 
++# When the bind9 port is installed, its libbind includes dups from
++# /usr/lib/libdl, so remove libbind
++libswanted=`echo $libswanted | sed 's/ bind / /'`
++
++# When building a universal binary, remove the util lib, as -lutil
++# does not ship with 10.4 SDK and is not available on tiger
++libswanted=`echo $libswanted | sed 's/ util / /'`
++
+ ##
+ # System libraries
+ ##

