summaryrefslogtreecommitdiff
path: root/graphics/impress/patches/patch-aa
blob: 710c1a4325840e666830ba3953d64165f2b9fe15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
$NetBSD: patch-aa,v 1.2 2006/02/18 16:09:59 wiz Exp $
--- src/Makefile.orig	2001-06-19 03:33:08.000000000 +0000
+++ src/Makefile
@@ -2,6 +2,7 @@ cmp=/usr/bin/cmp
 cp=/bin/cp
 mv=/bin/mv
 ln=/bin/ln
+mkdir=/bin/mkdir -p
 
 all: impress transeps
 
@@ -27,7 +28,7 @@ installdrvtk:	../pstoedit/src/drvtk.cpp.
 		echo "Updating drvbase.h" >&2 && ${cp} drvbase.h ../pstoedit/src
 
 install: impress impress.tcl transeps COPYING CHANGES OPTIONS README tkFont-patch.diff tkUnixWm-patch.diff installdrvtk
-	@-mkdir ../bin
+	@-${mkdir} ../bin
 	@-${cmp} impress ../bin/impress 2>/dev/null || \
 		echo "Updating impress" >&2 && ${cp} impress ../bin
 	@-${cmp} transeps ../bin/transeps 2>/dev/null || \
@@ -44,7 +45,7 @@ install: impress impress.tcl transeps CO
 		echo "Updating tkFont-patch.diff" >&2 && ${cp} tkFont-patch.diff ..
 	@-${cmp} tkUnixWm-patch.diff ../tkUnixWm-patch.diff 2>/dev/null || \
 		echo "Updating tkUnixWm-patch.diff" >&2 && ${cp} tkUnixWm-patch.diff ..
-	@-mkdir ../doc
+	@-${mkdir} ../doc
 	@-${cmp} doc/arrows.jpg ../doc/arrows.jpg 2>/dev/null || \
 		echo "Updating arrows.jpg" >&2 && ${cp} doc/arrows.jpg ../doc
 	@-${cmp} doc/custcolor.jpg ../doc/custcolor.jpg 2>/dev/null || \