Revision
94799
Author
cal@macports.org
Date
2012-06-29 15:49:20 -0700 (Fri, 29 Jun 2012)

Log Message

p5-eperl: Ensure we're building for the right arch

This is a bit hacky, because p5-eperl ignores CFLAGS and LDFLAGS.

Modified Paths

Diff

Modified: trunk/dports/perl/p5-eperl/Portfile (94798 => 94799)


--- trunk/dports/perl/p5-eperl/Portfile	2012-06-29 22:34:33 UTC (rev 94798)
+++ trunk/dports/perl/p5-eperl/Portfile	2012-06-29 22:49:20 UTC (rev 94799)
@@ -52,7 +52,9 @@
 }
 
 configure.args          --with-perl=${perl5.bin} \
-                        --enable-debug
+                        --enable-debug \
+                        CC=\"${configure.cc} [get_canonical_archflags cc]\" \
+                        LD=\"${configure.cc} [get_canonical_archflags ld]\"
 
 destroot.destdir        prefix=${destroot}${prefix} \
                         mandir=${destroot}${prefix}/share/man