[109274] trunk/dports/lang

jeremyhu at macports.org jeremyhu at macports.org
Sun Aug 11 21:12:14 PDT 2013


Revision: 109274
          https://trac.macports.org/changeset/109274
Author:   jeremyhu at macports.org
Date:     2013-08-11 21:12:14 -0700 (Sun, 11 Aug 2013)
Log Message:
-----------
gcc4[89]: Dead code removal, remove supported_archs as this should be working on ppc now (#34385)

Modified Paths:
--------------
    trunk/dports/lang/gcc48/Portfile
    trunk/dports/lang/gcc49/Portfile

Modified: trunk/dports/lang/gcc48/Portfile
===================================================================
--- trunk/dports/lang/gcc48/Portfile	2013-08-11 23:03:29 UTC (rev 109273)
+++ trunk/dports/lang/gcc48/Portfile	2013-08-12 04:12:14 UTC (rev 109274)
@@ -154,16 +154,9 @@
         }
     }
 } else {
-
-supported_archs     i386 x86_64
-
 post-destroot {
-    file delete -force ${destroot}${prefix}/share/man/man7 \
-        ${destroot}${prefix}/share/info
-    # install/copy ffitarget.h only if we have it
-    if {![catch {set ffitarget.h [glob ${destroot}${prefix}/lib/${name}/gcc/*/${version}/include/ffitarget.h]} result]} {
-        file copy ${ffitarget.h} ${destroot}${prefix}/include/${name}/
-    }
+    file delete -force ${destroot}${prefix}/share/man/man7
+    file delete -force ${destroot}${prefix}/share/info
 
     if {[variant_isset universal]} {
         foreach archdir [glob ${destroot}${prefix}/lib/${name}/*/] {

Modified: trunk/dports/lang/gcc49/Portfile
===================================================================
--- trunk/dports/lang/gcc49/Portfile	2013-08-11 23:03:29 UTC (rev 109273)
+++ trunk/dports/lang/gcc49/Portfile	2013-08-12 04:12:14 UTC (rev 109274)
@@ -155,16 +155,9 @@
         }
     }
 } else {
-
-supported_archs     i386 x86_64
-
 post-destroot {
-    file delete -force ${destroot}${prefix}/share/man/man7 \
-        ${destroot}${prefix}/share/info
-    # install/copy ffitarget.h only if we have it
-    if {![catch {set ffitarget.h [glob ${destroot}${prefix}/lib/${name}/gcc/*/${version}/include/ffitarget.h]} result]} {
-        file copy ${ffitarget.h} ${destroot}${prefix}/include/${name}/
-    }
+    file delete -force ${destroot}${prefix}/share/man/man7
+    file delete -force ${destroot}${prefix}/share/info
 
     if {[variant_isset universal]} {
         foreach archdir [glob ${destroot}${prefix}/lib/${name}/*/] {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130811/180f34bc/attachment.html>


More information about the macports-changes mailing list