summaryrefslogtreecommitdiff
path: root/textproc/p5-SGML-Parser-OpenSP/files/patch-Makefile.PL
blob: 7f27ad0ee9fdabb24b20bdb6768dd3130fb861d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- Makefile.PL.orig	2013-10-24 16:00:49.000000000 +0900
+++ Makefile.PL	2013-10-24 16:08:32.000000000 +0900
@@ -13,9 +13,9 @@
 else
 {
     # assume some compatible Linux
-    $options{LD}   = "g++";
-    $options{CC}   = "g++";
-    $options{LIBS} = "-lstdc++ -losp";
+    $options{LD}   = "c++";
+    $options{CC}   = "c++";
+    $options{LIBS} = "-L%%LOCALBASE%%/lib -lstdc++ -losp";
 }
  WriteMakefile(

@@ -26,6 +26,10 @@
       Test::Exception => 0,
       File::Temp      => 0,
     },
+    PM		      => {
+      'lib/SGML/Parser/OpenSP.pm' => '$(INST_LIB)/SGML/Parser/OpenSP.pm',
+      'lib/SGML/Parser/OpenSP/Tools.pm' => '$(INST_LIB)/SGML/Parser/OpenSP/Tools.pm'
+    },
     ($] >= 5.005 ?
       (ABSTRACT_FROM  => 'lib/SGML/Parser/OpenSP.pm',
        AUTHOR         => 'Bjoern Hoehrmann <bjoern@hoehrmann.de>') : ()),