freebsd-ports/sysutils/nut22/files/patch-clients-Makefile.in
2008-06-12 05:41:35 +00:00

12 lines
496 B
Plaintext

--- 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 \