opnsense-ports/misc/nsf/files/patch-Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

16 lines
393 B
Text

--- 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)