[99302] trunk/dports/devel/gdb/Portfile

jmr at macports.org jmr at macports.org
Wed Oct 31 14:28:37 PDT 2012


Revision: 99302
          http://trac.macports.org//changeset/99302
Author:   jmr at macports.org
Date:     2012-10-31 14:28:37 -0700 (Wed, 31 Oct 2012)
Log Message:
-----------
gdb: use supported_archs instead of simulating it manually

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

Modified: trunk/dports/devel/gdb/Portfile
===================================================================
--- trunk/dports/devel/gdb/Portfile	2012-10-31 21:12:23 UTC (rev 99301)
+++ trunk/dports/devel/gdb/Portfile	2012-10-31 21:28:37 UTC (rev 99302)
@@ -27,6 +27,7 @@
 
 homepage        http://www.gnu.org/software/gdb/
 platforms       darwin
+supported_archs x86_64 i386
 
 master_sites    gnu
 
@@ -38,14 +39,6 @@
 
 depends_build   port:gettext
 
-if {${configure.build_arch} == "ppc" || ${configure.build_arch} == "ppc64"} {
-    notes "${name} does not support building on ${configure.build_arch}."
-    pre-fetch {
-        ui_error "${name} does not support building on ${configure.build_arch}."
-        return -code error "Unsupported architecture."
-    }
-}
-
 configure.args-append \
     --infodir=${prefix}/share/info \
     --mandir=${prefix}/share/man \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121031/b4a0fec3/attachment.html>


More information about the macports-changes mailing list