[93304] trunk/dports/perl/p5-sgml-parser-opensp

jmr at macports.org jmr at macports.org
Sat May 19 06:36:20 PDT 2012


Revision: 93304
          https://trac.macports.org/changeset/93304
Author:   jmr at macports.org
Date:     2012-05-19 06:36:20 -0700 (Sat, 19 May 2012)
Log Message:
-----------
p5-sgml-parser-opensp: don't build with unqualified 'g++' (#30777), add license

Modified Paths:
--------------
    trunk/dports/perl/p5-sgml-parser-opensp/Portfile

Added Paths:
-----------
    trunk/dports/perl/p5-sgml-parser-opensp/files/
    trunk/dports/perl/p5-sgml-parser-opensp/files/Makefile.PL.patch

Modified: trunk/dports/perl/p5-sgml-parser-opensp/Portfile
===================================================================
--- trunk/dports/perl/p5-sgml-parser-opensp/Portfile	2012-05-19 13:18:14 UTC (rev 93303)
+++ trunk/dports/perl/p5-sgml-parser-opensp/Portfile	2012-05-19 13:36:20 UTC (rev 93304)
@@ -6,6 +6,7 @@
 perl5.setup         SGML-Parser-OpenSP 0.994
 revision            3
 platforms           darwin
+license             {Artistic-1 GPL}
 maintainers         nomaintainer
 description         Provides an interface to the OpenSP SGML parser.
 long_description    ${description}
@@ -15,6 +16,7 @@
                     rmd160 fcdfefdc139bec595732c0eab9a7d7e251ba6d42
 
 if {${perl5.major} != ""} {
+patchfiles          Makefile.PL.patch
 depends_lib-append  port:p${perl5.major}-class-accessor \
                     port:p${perl5.major}-file-temp \
                     port:p${perl5.major}-test-exception \

Added: trunk/dports/perl/p5-sgml-parser-opensp/files/Makefile.PL.patch
===================================================================
--- trunk/dports/perl/p5-sgml-parser-opensp/files/Makefile.PL.patch	                        (rev 0)
+++ trunk/dports/perl/p5-sgml-parser-opensp/files/Makefile.PL.patch	2012-05-19 13:36:20 UTC (rev 93304)
@@ -0,0 +1,11 @@
+--- Makefile.PL.orig	2008-06-30 05:37:52.000000000 +1000
++++ Makefile.PL	2012-05-19 23:31:18.000000000 +1000
+@@ -13,8 +13,6 @@
+ else
+ {
+     # assume some compatible Linux
+-    $options{LD}   = "g++";
+-    $options{CC}   = "g++";
+     $options{LIBS} = "-lstdc++ -losp";
+ }
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120519/28afdb8f/attachment.html>


More information about the macports-changes mailing list