From 6e5e2257a2fe454fd580c95756cf362fe4a1bf43 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Fri, 21 Jul 2017 11:16:23 +0200
Subject: [PATCH] Install into architecture specific path
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Inline/CPP/Config.pm stores C++ flags that are specific to
architecture.
CPAN RT#122557
Signed-off-by: Petr Písař <ppisar@redhat.com>
---
Makefile.PL | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Makefile.PL b/Makefile.PL
index 0d5f4a5..6fad74d 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -57,6 +57,13 @@ WriteMakefile(
'FindBin' => '0', # Core.
'Config' => '0', # Core.
},
+ PM => {
+ 'lib/Inline/CPP.pod' => '$(INST_LIB)/Inline/CPP.pod',
+ 'lib/Inline/CPP.pm' => '$(INST_LIB)/Inline/CPP.pm',
+ 'lib/Inline/CPP/Config.pm' => '$(INST_ARCHLIB)/Inline/CPP/Config.pm',
+ 'lib/Inline/CPP/Parser/RecDescent.pm' =>
+ '$(INST_LIB)/Inline/CPP/Parser/RecDescent.pm',
+ },
META_MERGE => {
'meta-spec' => {
version => 2,
--
2.9.4