aboutsummaryrefslogtreecommitdiff
path: root/databases/slony1/files/patch-tools-altperl-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/slony1/files/patch-tools-altperl-Makefile')
-rw-r--r--databases/slony1/files/patch-tools-altperl-Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/databases/slony1/files/patch-tools-altperl-Makefile b/databases/slony1/files/patch-tools-altperl-Makefile
new file mode 100644
index 000000000000..1a12e4e84876
--- /dev/null
+++ b/databases/slony1/files/patch-tools-altperl-Makefile
@@ -0,0 +1,19 @@
+--- tools/altperl/Makefile.dist Wed Jul 6 11:31:10 2005
++++ tools/altperl/Makefile Wed Jul 6 11:31:45 2005
+@@ -13,6 +13,8 @@
+ DISTFILES = Makefile ToDo README $(wildcard *.pl) $(wildcard *.pm) slon_tools.conf-sample
+
+ all:
++ifdef toolsbin
++
+ ifndef PERL
+ @echo "The altperl tools require that Perl be installed."
+ exit 1;
+@@ -31,6 +33,7 @@
+ $$file > $$tmpname; \
+ chmod 755 $$tmpname; \
+ done
++endif
+
+ install: all installdirs
+ ifndef toolsbin