[52674] trunk/dports/devel/pth/Portfile

jmr at macports.org jmr at macports.org
Sat Jun 20 20:53:40 PDT 2009


Revision: 52674
          http://trac.macports.org/changeset/52674
Author:   jmr at macports.org
Date:     2009-06-20 20:53:39 -0700 (Sat, 20 Jun 2009)
Log Message:
-----------
pth: remove universal flags from pth-config

Modified Paths:
--------------
    trunk/dports/devel/pth/Portfile

Modified: trunk/dports/devel/pth/Portfile
===================================================================
--- trunk/dports/devel/pth/Portfile	2009-06-21 00:53:18 UTC (rev 52673)
+++ trunk/dports/devel/pth/Portfile	2009-06-21 03:53:39 UTC (rev 52674)
@@ -35,6 +35,14 @@
 use_parallel_build  no
 
 post-destroot {
+    if {[variant_isset universal]} {
+        if {${configure.universal_cppflags} != ""} {
+            reinplace "s|${configure.universal_cppflags}||g" \
+                ${destroot}${prefix}/bin/pth-config
+        }
+        reinplace "s|${configure.universal_ldflags}||g" \
+            ${destroot}${prefix}/bin/pth-config
+    }
     xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
     xinstall -m 644 -W ${worksrcpath} ANNOUNCE AUTHORS ChangeLog COPYING \
         HACKING HISTORY INSTALL NEWS PORTING README SUPPORT TESTS THANKS \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090620/7d759c8e/attachment.html>


More information about the macports-changes mailing list