a7ba9d3f20
- Use upstream spec file - Update to pcp-3.6.3. OBS-URL: https://build.opensuse.org/request/show/125083 OBS-URL: https://build.opensuse.org/package/show/Base:System/pcp?expand=0&rev=14
40 lines
1.7 KiB
Diff
40 lines
1.7 KiB
Diff
Index: pcp-3.6.3/src/cpan/PMDA/Makefile.PL
|
|
===================================================================
|
|
--- pcp-3.6.3.orig/src/cpan/PMDA/Makefile.PL
|
|
+++ pcp-3.6.3/src/cpan/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
|
|
Index: pcp-3.6.3/src/cpan/LogImport/Makefile.PL
|
|
===================================================================
|
|
--- pcp-3.6.3.orig/src/cpan/LogImport/Makefile.PL
|
|
+++ pcp-3.6.3/src/cpan/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
|
|
Index: pcp-3.6.3/src/cpan/MMV/Makefile.PL
|
|
===================================================================
|
|
--- pcp-3.6.3.orig/src/cpan/MMV/Makefile.PL
|
|
+++ pcp-3.6.3/src/cpan/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
|