[84111] trunk/dports/perl/p5-perlmagick/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Sep 17 08:34:09 PDT 2011


Revision: 84111
          http://trac.macports.org/changeset/84111
Author:   ryandesign at macports.org
Date:     2011-09-17 08:34:04 -0700 (Sat, 17 Sep 2011)
Log Message:
-----------
p5-perlmagick: simplify setting archflags; see #31286

Modified Paths:
--------------
    trunk/dports/perl/p5-perlmagick/Portfile

Modified: trunk/dports/perl/p5-perlmagick/Portfile
===================================================================
--- trunk/dports/perl/p5-perlmagick/Portfile	2011-09-17 13:25:15 UTC (rev 84110)
+++ trunk/dports/perl/p5-perlmagick/Portfile	2011-09-17 15:34:04 UTC (rev 84111)
@@ -32,12 +32,7 @@
 if {${perl5.major} != ""} {
 depends_lib-append          port:ImageMagick
 post-patch {
-    if {[variant_isset universal]} {
-        set archflags ${configure.universal_cflags}
-    } else {
-        set archflags ${configure.cc_archflags}
-    }
-    reinplace "s|@ARCHFLAGS@|${archflags}|g" ${worksrcpath}/Makefile.PL
+    reinplace "s|@ARCHFLAGS@|[get_canonical_archflags]|g" ${worksrcpath}/Makefile.PL
     reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/Makefile.PL
 }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110917/a57969db/attachment.html>


More information about the macports-changes mailing list