summaryrefslogtreecommitdiff
path: root/graphics/dia/patches/patch-da
blob: 091ad398fb6bbddefbeabf5548af4c4286adf80b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-da,v 1.3 2009/12/09 10:22:04 drochner Exp $

--- omf.make.orig	2009-04-17 10:25:24.000000000 +0200
+++ omf.make
@@ -44,11 +44,10 @@ omf_timestamp: $(omffile)
 
 install-data-hook-omf:
 	$(mkinstalldirs) $(omf_dest_dir)
-	-if test -n "$(omffile)"; then \
-	  for file in $(omffile); do \
+	omffile="$(omffile)"; \
+	  for file in $$omffile; do \
 	    $(INSTALL_DATA) $$file.out $(omf_dest_dir)/$$file; \
-	  done; \
-	fi
+	  done;
 	-scrollkeeper-update -p $(scrollkeeper_localstate_dir) -o $(omf_dest_dir)
 
 uninstall-local-omf: