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

snc at macports.org snc at macports.org
Thu Apr 8 07:11:12 PDT 2010


Revision: 66289
          http://trac.macports.org/changeset/66289
Author:   snc at macports.org
Date:     2010-04-08 07:11:11 -0700 (Thu, 08 Apr 2010)
Log Message:
-----------
update version, #24360. block ppc[64] architecture. maintainer timeout

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

Modified: trunk/dports/devel/gdb/Portfile
===================================================================
--- trunk/dports/devel/gdb/Portfile	2010-04-08 13:45:16 UTC (rev 66288)
+++ trunk/dports/devel/gdb/Portfile	2010-04-08 14:11:11 UTC (rev 66289)
@@ -4,8 +4,7 @@
 PortSystem      1.0
 
 name            gdb
-version         6.8
-revision        1
+version         7.1
 categories      devel
 maintainers     dweber openmaintainer
 description     GDB: The GNU Project Debugger
@@ -32,27 +31,32 @@
 
 use_bzip2       yes
 
-checksums       \
-                md5  c9da266b884fb8fa54df786dfaadbc7a \
-                sha1 ba1394d59dd84a1dd3a83322bd82c799596f0bcf \
-                rmd160 23fc9442290b6383ce8f943ef1eb117fa06e79fb
+checksums           md5     21dce610476c054687b52770d2ddc657 \
+                    sha1    417e2e637a296ea0e1cdddf56233311b8708fa19 \
+                    rmd160  800d224496240a360c996e588490f2d87367c4e3
 
-depends_build   \
-                port:expat 
-                #port:gcc42
+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 \
     --with-docdir=${prefix}/share/doc \
-    --enable-objc-gc
+    --program-prefix=fsf-
 
-fetch {
-    ui_msg "******************************************************"
-    ui_msg "* This port for gdb 6.8 fails to configure and build."
-    ui_msg "* There is a trac ticket to describe the issues at:"
-    ui_msg "* http://trac.macports.org/ticket/19871"
-    ui_msg "* Sorry for the inconvenience."
-    ui_msg "******************************************************"
+configure.cflags-append     -I${prefix}/include
+configure.cxxflags-append   -I${prefix}/include
+
+post-destroot {
+    system "chgrp procmod ${destroot}${prefix}/bin/fsf-gdb*"
+    system "cmod g+s ${destroot}${prefix}/bin/fsf-gdb*"
+    move ${destroot}${prefix}/share/info/standards.info ${destroot}${prefix}/share/info/gdb-standards.info
 }
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100408/7e6cf78d/attachment.html>


More information about the macports-changes mailing list