1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-11 23:25:17 +00:00
freebsd-ports/news/nn/files/patch-ag
Michael Haro b5836e35bd Split up patchfiles. Add patch from PR 9710. Update md5 file so it
no longer needs to be marked as broken.

PR:		9710
Submitted by:	Boris Staeblow <balu@dva.in-berlin.de>
1999-04-16 08:52:25 +00:00

30 lines
821 B
Plaintext

--- Makefile.orig Mon Aug 19 17:28:12 1996
+++ Makefile Fri Apr 16 01:28:02 1999
@@ -19,15 +19,15 @@
# Use /lib/cpp or /usr/ccs/lib/cpp for CPP on Solaris or SVR4 machines.
CC = cc
-#CPP = $(CC) -E
-CPP = /lib/cpp
-#CFLAGS = -O2 # -g # -I/usr/local/lib/malloc-debug -DMALLOC_FUNC_CHECK
-CFLAGS = -O
+CPP = $(CC) -E
+#CPP = /lib/cpp
+CFLAGS += -O2 # -g # -I/usr/local/lib/malloc-debug -DMALLOC_FUNC_CHECK
+#CFLAGS = -O
#-Wall -Wcomment \
#-Wtraditional -Wshadow \
#-Wpointer-arith -Wcast-qual -Wcast-align -Wconversion \
#-Waggregate-return -Wmissing-prototypes -Wnested-externs
-#LDFLAGS = -s # -lmalloc # /usr/local/lib/malloc-debug/libmalloc.a
+LDFLAGS = -s # -lmalloc # /usr/local/lib/malloc-debug/libmalloc.a
MAKE = make
@@ -97,3 +97,5 @@
man/nn.1.D: man/nn.1
sh SPLITNN1
+install:
+ ./inst n