summaryrefslogtreecommitdiff
path: root/databases/rrdtool10/files/patch-Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'databases/rrdtool10/files/patch-Makefile.am')
-rw-r--r--databases/rrdtool10/files/patch-Makefile.am36
1 files changed, 36 insertions, 0 deletions
diff --git a/databases/rrdtool10/files/patch-Makefile.am b/databases/rrdtool10/files/patch-Makefile.am
new file mode 100644
index 000000000000..8285ab600361
--- /dev/null
+++ b/databases/rrdtool10/files/patch-Makefile.am
@@ -0,0 +1,36 @@
+--- Makefile.am.orig 2004-08-04 15:20:32 UTC
++++ Makefile.am
+@@ -33,21 +33,7 @@
+ # lets schedule the perl stuff for installation
+ # the special call to install-sh is because the -d switch is not portable
+ # mac os X has its perl module in bundles so it seems
+-install-data-local:
+- @if test "x$(PERL)" != "xno"; then \
+- echo "$(top_srcdir)/config/mkinstalldirs $(DESTDIR)$(prefix)/lib/perl/auto/RRDs"; \
+- $(top_srcdir)/config/mkinstalldirs $(DESTDIR)$(prefix)/lib/perl/auto/RRDs; \
+- echo "$(INSTALL) -m 644 $(top_srcdir)/perl-piped/RRDp.pm $(DESTDIR)$(prefix)/lib/perl"; \
+- $(INSTALL) -m 644 $(top_srcdir)/perl-piped/RRDp.pm $(DESTDIR)$(prefix)/lib/perl; \
+- echo "$(INSTALL) -m 644 $(top_srcdir)/perl-shared/RRDs.pm $(DESTDIR)$(prefix)/lib/perl"; \
+- $(INSTALL) -m 644 $(top_srcdir)/perl-shared/RRDs.pm $(DESTDIR)$(prefix)/lib/perl; \
+- echo "$(INSTALL) -m 644 $(top_builddir)/perl-shared/blib/arch/auto/RRDs/RRDs.bs $(DESTDIR)$(prefix)/lib/perl/auto/RRDs"; \
+- $(INSTALL) -m 644 $(top_builddir)/perl-shared/blib/arch/auto/RRDs/RRDs.bs $(DESTDIR)$(prefix)/lib/perl/auto/RRDs; \
+- echo "test -f $(top_builddir)/perl-shared/blib/arch/auto/RRDs/RRDs.@SO_EXT@ && $(INSTALL) -m 755 $(top_builddir)/perl-shared/blib/arch/auto/RRDs/RRDs.@SO_EXT@ $(DESTDIR)$(prefix)/lib/perl/auto/RRDs || true"; \
+- test -f $(top_builddir)/perl-shared/blib/arch/auto/RRDs/RRDs.@SO_EXT@ && $(INSTALL) -m 755 $(top_builddir)/perl-shared/blib/arch/auto/RRDs/RRDs.@SO_EXT@ $(DESTDIR)$(prefix)/lib/perl/auto/RRDs || true; \
+- echo "test -f $(top_builddir)/perl-shared/blib/arch/auto/RRDs/RRDs.bundle && $(INSTALL) -m 755 $(top_builddir)/perl-shared/blib/arch/auto/RRDs/RRDs.bundle $(DESTDIR)$(prefix)/lib/perl/auto/RRDs|| true"; \
+- test -f $(top_builddir)/perl-shared/blib/arch/auto/RRDs/RRDs.bundle && $(INSTALL) -m 755 $(top_builddir)/perl-shared/blib/arch/auto/RRDs/RRDs.bundle $(DESTDIR)$(prefix)/lib/perl/auto/RRDs|| true; \
+- fi
++install-data-local: site-perl-inst
+
+
+ # use relaxed rules when building dists
+@@ -137,8 +123,8 @@
+ site-perl-inst: site-perl-install
+
+ site-perl-install: all perl-piped/Makefile perl-shared/Makefile
+- cd perl-piped && $(MAKE) install
+- cd perl-shared && $(MAKE) install
++ cd perl-piped && $(MAKE) pure_install
++ cd perl-shared && $(MAKE) pure_install
+
+ site-tcl-install: all
+ cd tcl && $(MAKE) tcl-install