summaryrefslogtreecommitdiff
path: root/databases/slony1v2/files/patch-tools-altperl-Makefile
blob: 1a12e4e84876bc81088b082ac4299dcfe609380f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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