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

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


Revision: 99303
          http://trac.macports.org//changeset/99303
Author:   jmr at macports.org
Date:     2012-10-31 14:31:24 -0700 (Wed, 31 Oct 2012)
Log Message:
-----------
gdb: disable -Werror instead of disabling a warning with clang

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

Modified: trunk/dports/devel/gdb/Portfile
===================================================================
--- trunk/dports/devel/gdb/Portfile	2012-10-31 21:28:37 UTC (rev 99302)
+++ trunk/dports/devel/gdb/Portfile	2012-10-31 21:31:24 UTC (rev 99303)
@@ -39,16 +39,13 @@
 
 depends_build   port:gettext
 
-configure.args-append \
+configure.args \
     --infodir=${prefix}/share/info \
     --mandir=${prefix}/share/man \
     --with-docdir=${prefix}/share/doc \
-    --program-prefix=g
+    --program-prefix=g \
+    --disable-werror
 
-if {${configure.compiler} == "clang"} {
-    configure.cflags-append -Wno-unused-value
-}
-
 post-destroot {
     system "chgrp procmod ${destroot}${prefix}/bin/ggdb*"
     system "chmod g+s ${destroot}${prefix}/bin/ggdb*"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121031/55fa911e/attachment.html>


More information about the macports-changes mailing list