Changeset 94661


Ignore:
Timestamp:
Jun 26, 2012, 2:34:40 PM (8 years ago)
Author:
jmr@…
Message:

p5-sgml-parser-opensp: this really wants a C++ compiler in CC, so at least give it the right C++ compiler

Location:
trunk/dports/perl/p5-sgml-parser-opensp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/perl/p5-sgml-parser-opensp/Portfile

    r94655 r94661  
    1919if {${perl5.major} != ""} {
    2020patchfiles          Makefile.PL.patch
     21# wants to put C++ code in a .c file for some reason
     22post-patch {
     23    reinplace "s|__CXX__|${configure.cxx}|" ${worksrcpath}/Makefile.PL
     24}
    2125depends_lib-append  port:p${perl5.major}-class-accessor \
    2226                    port:p${perl5.major}-file-temp \
  • trunk/dports/perl/p5-sgml-parser-opensp/files/Makefile.PL.patch

    r93304 r94661  
    11--- Makefile.PL.orig    2008-06-30 05:37:52.000000000 +1000
    2 +++ Makefile.PL 2012-05-19 23:31:18.000000000 +1000
    3 @@ -13,8 +13,6 @@
     2+++ Makefile.PL 2012-06-27 00:29:13.000000000 +1000
     3@@ -12,9 +12,7 @@
     4 }
    45 else
    56 {
    6      # assume some compatible Linux
     7-    # assume some compatible Linux
    78-    $options{LD}   = "g++";
    89-    $options{CC}   = "g++";
     10+    $options{CC}   = "__CXX__";
    911     $options{LIBS} = "-lstdc++ -losp";
    1012 }
Note: See TracChangeset for help on using the changeset viewer.