summaryrefslogtreecommitdiff
path: root/sysutils/nut22/files/patch-clients-Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/nut22/files/patch-clients-Makefile.in')
-rw-r--r--sysutils/nut22/files/patch-clients-Makefile.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/nut22/files/patch-clients-Makefile.in b/sysutils/nut22/files/patch-clients-Makefile.in
new file mode 100644
index 000000000000..a8fb0585387d
--- /dev/null
+++ b/sysutils/nut22/files/patch-clients-Makefile.in
@@ -0,0 +1,11 @@
+--- clients/Makefile.in.orig 2007-07-05 15:21:22.000000000 +0200
++++ clients/Makefile.in 2007-08-28 15:25:39.000000000 +0200
+@@ -440,7 +440,7 @@
+ done
+ install-cgiexecPROGRAMS: $(cgiexec_PROGRAMS)
+ @$(NORMAL_INSTALL)
+- test -z "$(cgiexecdir)" || $(mkdir_p) "$(DESTDIR)$(cgiexecdir)"
++ test -z "$(cgiexec_PROGRAMS)" -o -z "$(cgiexecdir)" || $(mkdir_p) "$(DESTDIR)$(cgiexecdir)"
+ @list='$(cgiexec_PROGRAMS)'; for p in $$list; do \
+ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+ if test -f $$p \