summaryrefslogtreecommitdiff
path: root/news/nn/patches/patch-aa
blob: 034c557466cafa0e4d695df8aa4bbbbd532ad857 (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
30
31
32
33
34
35
36
37
38
39
40
$NetBSD: patch-aa,v 1.11 2006/09/17 13:18:59 rillig Exp $

--- Makefile.orig	2002-02-08 05:14:41.000000000 +0100
+++ Makefile	2006-09-17 15:17:04.000000000 +0200
@@ -18,16 +18,16 @@
 #
 # Use /lib/cpp or /usr/ccs/lib/cpp for CPP on Solaris or SVR4 machines.
 
-CC =		cc
+#CC =		cc
 
-CPP =		$(CC) -E
+#CPP =		$(CC) -E
 #CPP =		/lib/cpp
 #CPP =		/usr/bin/cpp -no-cpp-precomp	# for MacOS X
 
-CFLAGS =	-O # -g -Wall -ansi -pedantic
+#CFLAGS =	-O # -g -Wall -ansi -pedantic
 #CFLAGS =	-O # -w0 -g3			# for DEC
 
-MAKE =		make
+#MAKE =		make
 
 
 SHELL = /bin/sh
@@ -60,7 +60,7 @@ ymakefile: Makefile xmakefile config.h
 	       -DCDEBUG="$(CFLAGS)" -Iconf MF.c | \
 	sed -e '1,/MAKE WILL CUT HERE/d' \
 	    -e '/^#/d' \
-	    -e 's/^        /	/' \
+	    -e 's/^  */	/' \
 	    -e '/^[ \f	]$$/d' \
 	    -e '/^[ \/]*[*]/d' | \
 	sed -n -e '/^..*$$/p' > ymakefile
@@ -97,3 +97,5 @@ split: tar
 man/nn.1.D: man/nn.1
 	sh SPLITNN1
 
+install:
+	./inst n