[94743] trunk/dports/lang/ragel

jmr at macports.org jmr at macports.org
Thu Jun 28 03:12:11 PDT 2012


Revision: 94743
          https://trac.macports.org/changeset/94743
Author:   jmr at macports.org
Date:     2012-06-28 03:12:10 -0700 (Thu, 28 Jun 2012)
Log Message:
-----------
ragel: fix configure overwriting our CXXFLAGS (#32360)

Modified Paths:
--------------
    trunk/dports/lang/ragel/Portfile

Added Paths:
-----------
    trunk/dports/lang/ragel/files/configure-cxxflags.patch

Modified: trunk/dports/lang/ragel/Portfile
===================================================================
--- trunk/dports/lang/ragel/Portfile	2012-06-28 08:59:24 UTC (rev 94742)
+++ trunk/dports/lang/ragel/Portfile	2012-06-28 10:12:10 UTC (rev 94743)
@@ -24,7 +24,7 @@
 
 depends_build       port:bison
 
-patchfiles          cxx_syntax.patch
+patchfiles          cxx_syntax.patch configure-cxxflags.patch
 
 post-build    {
     system -W ${worksrcpath}/doc "${build.cmd} ragel.1"

Added: trunk/dports/lang/ragel/files/configure-cxxflags.patch
===================================================================
--- trunk/dports/lang/ragel/files/configure-cxxflags.patch	                        (rev 0)
+++ trunk/dports/lang/ragel/files/configure-cxxflags.patch	2012-06-28 10:12:10 UTC (rev 94743)
@@ -0,0 +1,14 @@
+--- configure.orig	2011-05-22 12:27:42.000000000 -0700
++++ configure	2011-12-01 21:11:47.000000000 -0800
+@@ -3933,8 +3933,9 @@
+ 
+ 
+ # Default flags.
+-CXXFLAGS="-g"
+-
++if test -z "$CXXFLAGS"; then
++  CXXFLAGS="-g"
++fi
+ ac_ext=cpp
+ ac_cpp='$CXXCPP $CPPFLAGS'
+ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120628/fe191fa8/attachment.html>


More information about the macports-changes mailing list