Ignore:
Timestamp:
Nov 28, 2014, 10:11:42 PM (5 years ago)
Author:
larryv@…
Message:

yodl: Avoid C++11 functions

Enables building on outdated OS X without making things awkward.

Location:
trunk/dports/textproc/yodl
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/yodl/Portfile

    r128861 r128862  
    66name                yodl
    77version             3.04.00
     8revision            1
    89categories          textproc
    910platforms           darwin
     
    3334                    sha256  66b317877906e165506796f9342a1adf931376f7d8b6990b2d2ff12107685893
    3435
    35 patchfiles          fix-hashbangs.patch \
     36patchfiles          avoid-c++11.patch \
     37                    fix-hashbangs.patch \
    3638                    use-macports-compilers.patch \
    3739                    use-macports-locations.patch
  • trunk/dports/textproc/yodl/files/use-macports-compilers.patch

    r128860 r128862  
    3939--- icmake/program.orig
    4040+++ icmake/program
    41 @@ -26,8 +26,8 @@ void _programYodlverbinsert()
    42  {
     41@@ -27,7 +27,7 @@ void _programYodlverbinsert()
    4342     if ("src/verbinsert/verbinsert.cc" younger
    4443             g_install + BIN + "/yodlverbinsert")
    45 -        run(CXX + " --std=c++11 -o " + g_install + BIN + "/yodlverbinsert " +
     44         run(CXX + " -o " + g_install + BIN + "/yodlverbinsert " +
    4645-            g_copt + " src/verbinsert/verbinsert.cc " + g_lopt);
    47 +        run(CXX + " -o " + g_install + BIN + "/yodlverbinsert " +
    4846+            g_cxxopt + " src/verbinsert/verbinsert.cc " + g_lopt);
    4947 }
Note: See TracChangeset for help on using the changeset viewer.