blob: fa4f58d6c511aed76b67c797b198bbb05c5f5f97 (
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-bp,v 1.2 2010/09/27 12:01:49 taca Exp $
* Nuke removing existing files.
--- conf/makefiles/zotnet/mts.orig 2001-06-11 01:26:35.000000000 +0000
+++ conf/makefiles/zotnet/mts
@@ -14,6 +14,8 @@ LDOPTLIB= @(LDOPTLIB)
CHOWN = @(MHCHOWNPATH)
REMOVE = @(MHREMOVE)
+CP = @(CP)
+
CC = @(MHCOMPILER)
CPP = @(MHCPP)
@BEGIN: OPTIM
@@ -94,8 +96,7 @@ inst-mtstailor: $(ETCDIR)/mtstailor
$(ETCDIR)/mtstailor: mtstailor
-@if [ ! -f $@ ]; then \
- $(REMOVE) $@ zmtstailor; \
- cp mtstailor $@; \
+ $(CP) mtstailor $@; \
else \
echo "Will not overwrite existing $@"; \
fi
|