summaryrefslogtreecommitdiff
path: root/archivers/nulib2/patches/patch-ac
blob: 29e842e1dcdf168a72675eac156033f0aaf52c95 (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
$NetBSD: patch-ac,v 1.4 2004/11/29 04:50:35 tv Exp $

--- ../nufxlib-203/Makefile.in.orig	Mon May 22 20:15:37 2000
+++ ../nufxlib-203/Makefile.in
@@ -88,10 +88,10 @@
 # The build date is approximate, the build flags are accurate so long
 # as they were changed by touching the makefile.
 Version.c: Version.c.in Makefile
-	(sed -e "s/BUILT/`date`/" -e "s/OPTFLAGS/$(OPT)/" < Version.c.in > Version.c)
+	(sed -e "s|BUILT|`date`|" -e "s|OPTFLAGS|$(OPT)|" < Version.c.in > Version.c)
 
 clean:
-	(cd samples; make clean)
+	(cd samples; ${MAKE} clean)
 	-rm -f *.o core
 	-rm -f $(SHARED_PRODUCT) $(STATIC_PRODUCT)
 
@@ -101,7 +101,7 @@
 	@#ctags *.[ch]
 
 distclean: clean
-	(cd samples; make distclean)
+	(cd samples; ${MAKE} distclean)
 	-rm -f Version.c
 	-rm -f Makefile Makefile.bak
 	-rm -f config.log config.cache config.status config.h