pcp/remove_cpan_rpaths.patch

40 lines
1.7 KiB
Diff
Raw Normal View History

2012-11-21 16:07:21 +01:00
Index: pcp-3.6.10/src/perl/PMDA/Makefile.PL
===================================================================
2012-11-21 16:07:21 +01:00
--- pcp-3.6.10.orig/src/perl/PMDA/Makefile.PL
+++ pcp-3.6.10/src/perl/PMDA/Makefile.PL
@@ -15,7 +15,7 @@ if ($ENV{TARGET_OS} eq "mingw") {
else {
$ldfrom = "local.o PMDA.o";
$inc = "-I$ENV{PCP_TOPDIR}/src/include/pcp -I/usr/include/pcp";
- $libs = ["-L$ENV{PCP_TOPDIR}/src/libpcp_pmda/src -L$ENV{PCP_TOPDIR}/src/libpcp/src -lpcp_pmda -lpcp"];
+ $libs = ["-lpcp_pmda -lpcp"];
}
if ($ENV{TARGET_OS} eq "darwin") {
# standard ones, minus -arch ppc
2012-11-21 16:07:21 +01:00
Index: pcp-3.6.10/src/perl/LogImport/Makefile.PL
===================================================================
2012-11-21 16:07:21 +01:00
--- pcp-3.6.10.orig/src/perl/LogImport/Makefile.PL
+++ pcp-3.6.10/src/perl/LogImport/Makefile.PL
@@ -15,7 +15,7 @@ if ($ENV{TARGET_OS} eq "mingw") {
else {
$ldfrom = "LogImport.o",
$inc = "-I$ENV{PCP_TOPDIR}/src/include/pcp -I/usr/include/pcp";
- $libs = ["-L$ENV{PCP_TOPDIR}/src/libpcp/src -L$ENV{PCP_TOPDIR}/src/libpcp_import/src -lpcp_import -lpcp"];
+ $libs = ["-lpcp_import -lpcp"];
}
if ($ENV{TARGET_OS} eq "darwin") {
# standard ones, minus -arch ppc
2012-11-21 16:07:21 +01:00
Index: pcp-3.6.10/src/perl/MMV/Makefile.PL
===================================================================
2012-11-21 16:07:21 +01:00
--- pcp-3.6.10.orig/src/perl/MMV/Makefile.PL
+++ pcp-3.6.10/src/perl/MMV/Makefile.PL
@@ -15,7 +15,7 @@ if ($ENV{TARGET_OS} eq "mingw") {
else {
$ldfrom = "MMV.o";
$inc = "-I$ENV{PCP_TOPDIR}/src/include/pcp -I/usr/include/pcp";
- $libs = ["-L$ENV{PCP_TOPDIR}/src/libpcp_mmv/src -L$ENV{PCP_TOPDIR}/src/libpcp/src -lpcp_mmv -lpcp"];
+ $libs = ["-lpcp_mmv -lpcp"];
}
if ($ENV{TARGET_OS} eq "darwin") {
# standard ones, minus -arch ppc