aboutsummaryrefslogtreecommitdiff
path: root/misc/nsf/files
diff options
context:
space:
mode:
Diffstat (limited to 'misc/nsf/files')
-rw-r--r--misc/nsf/files/patch-Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/misc/nsf/files/patch-Makefile b/misc/nsf/files/patch-Makefile
new file mode 100644
index 000000000000..6965aea57a94
--- /dev/null
+++ b/misc/nsf/files/patch-Makefile
@@ -0,0 +1,16 @@
+--- Makefile.orig Sun Oct 16 01:08:35 2005
++++ Makefile Sun Oct 16 01:08:50 2005
+@@ -1,10 +1,11 @@
+-CFLAGS = -O #-DHPUX
++CFLAGS ?= -O #-DHPUX
++CC ?= cc
+ LIBS = -lncurses #if HP-UX, -lcurses
+ OBJS = nsf.o iloop.o
+ EXE = nsf
+ LOCAL_BIN = /usr/local/bin
+ $(EXE): $(OBJS)
+- cc $(CFLAGS) -o $@ $(OBJS) $(LIBS)
++ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
+ $(OBJS): nsf.h
+ install: $(EXE)
+ strip $(EXE)