aboutsummaryrefslogtreecommitdiff
path: root/news/nn
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-10-29 01:36:44 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-10-29 01:36:44 +0000
commit272efd5d2c4d01232029419ce08a38492dbf2021 (patch)
treee529d5cc4f22b99935dbde9bfe4625b07a7c99e8 /news/nn
parent98a081f282164b18a7a40a5dfeb50140c6d8a03c (diff)
downloadports-272efd5d2c4d01232029419ce08a38492dbf2021.tar.gz
ports-272efd5d2c4d01232029419ce08a38492dbf2021.zip
Unbreak news/nn on -current. From patch-submission:
news/nn doesn't build on -CURRENT because 'cc -E' now emits blanks instead of keeping the tabs when generating the intermediate makefile, so some unexpansion is called for. Fix $CC & $MAKE while we're at it. Patch works on -STABLE, too. PR: ports/44530 Submitted by: Volker Stolz <vs@foldr.org> Approved by: Jasper O'Malley <jooji@cornflake.nickelkid.com> (maintainer)
Notes
Notes: svn path=/head/; revision=69067
Diffstat (limited to 'news/nn')
-rw-r--r--news/nn/files/patch-ag22
1 files changed, 18 insertions, 4 deletions
diff --git a/news/nn/files/patch-ag b/news/nn/files/patch-ag
index e70892a81922..c4626839c2a2 100644
--- a/news/nn/files/patch-ag
+++ b/news/nn/files/patch-ag
@@ -1,6 +1,11 @@
---- Makefile.orig Thu Dec 6 19:56:18 2001
-+++ Makefile Thu Dec 6 19:57:58 2001
-@@ -22,12 +22,12 @@
+--- Makefile.orig Mon Jul 2 06:54:34 2001
++++ Makefile Sun Oct 27 16:54:54 2002
+@@ -18,17 +18,16 @@
+ #
+ # Use /lib/cpp or /usr/ccs/lib/cpp for CPP on Solaris or SVR4 machines.
+
+-CC = gcc
++CC ?= gcc
CPP = $(CC) -E
#CPP = /lib/cpp
#CFLAGS = -O2 # -g # -I/usr/local/lib/malloc-debug -DMALLOC_FUNC_CHECK
@@ -11,10 +16,19 @@
#-Wpointer-arith -Wcast-qual -Wcast-align -Wconversion \
#-Waggregate-return -Wmissing-prototypes -Wnested-externs
-#LDFLAGS = -s # -lmalloc # /usr/local/lib/malloc-debug/libmalloc.a
+-MAKE = make
+LDFLAGS = -s # -lmalloc # /usr/local/lib/malloc-debug/libmalloc.a
- MAKE = make
+ SHELL = /bin/sh
+@@ -63,6 +62,7 @@
+ -e '/^#/d' \
+ -e '/^[ \f ]$$/d' \
+ -e '/^[ \/]*[*]/d' | \
++ unexpand | \
+ sed -n -e '/^..*$$/p' > ymakefile
+ rm -f MF.c
+
@@ -97,3 +97,5 @@
man/nn.1.D: man/nn.1
sh SPLITNN1