pkgsrc/graphics/dia/patches/patch-da

21 lines
662 B
Text

$NetBSD: patch-da,v 1.2 2007/11/17 14:14:01 rillig Exp $
Some shells don't like syntactically empty "for" loops.
--- omf.make.orig 2007-01-06 23:39:36.000000000 +0100
+++ omf.make 2007-11-17 15:12:01.000000000 +0100
@@ -44,11 +44,10 @@ omf_timestamp: $(omffile)
install-data-hook-omf:
$(mkinstalldirs) $(DESTDIR)$(omf_dest_dir)
- if test "$(omffile)"; then \
- for file in $(omffile); do \
+ omffile="$(omffile)"; \
+ for file in $$omffile; do \
$(INSTALL_DATA) $$file.out $(DESTDIR)$(omf_dest_dir)/$$file; \
- done; \
- fi
+ done
-scrollkeeper-update -p $(scrollkeeper_localstate_dir) -o $(DESTDIR)$(omf_dest_dir)
uninstall-local-omf: