summaryrefslogtreecommitdiff
path: root/lang/STk/patches/patch-aa
blob: a146e90f4c0d53a181591dc3cc06a6544fc5a1db (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
$NetBSD: patch-aa,v 1.2 2008/09/07 00:23:58 dholland Exp $

Don't delete any previous directory, just in case.
And *definitely* make it non-interactive.

--- Makefile.in.orig	1999-09-03 16:21:32.000000000 -0400
+++ Makefile.in	2008-09-06 19:39:24.000000000 -0400
@@ -18,6 +18,8 @@
 # Last file update:  3-Sep-1999 20:03 (eg)
 #
 
+root=$(DESTDIR)
+
 SHELL		= /bin/sh
 CP		= /bin/cp
 STRIP		= strip
@@ -175,7 +177,7 @@ clean-before:
 	  echo "*** This STk version ($(VERSION)) has already been installed "; \
 	  echo "*** on this machine. Should I clean this directory before "; \
 	  echo "*** starting installation of STk-$(VERSION)? [no] " ; \
-	  read a; \
+	  a=n; \
 	  case $$a in \
 	    y*|Y*) echo "Deleting previous installation"; \
                    /bin/rm -rf $(stkdir)/$(VERSION);; \