pkgsrc/comms/dl-ezkit/patches/patch-aa
jlam ef9f3a5617 * Fix the email address for the maintainer.
* Honor CFLAGS and CC settings passed in from the environment.
* Mark as USE_BUILDLINK_ONLY.
2001-08-19 03:28:59 +00:00

33 lines
708 B
Text

$NetBSD: patch-aa,v 1.2 2001/08/19 03:29:00 jlam Exp $
--- Makefile.bsd.orig Wed Dec 9 12:04:20 1998
+++ Makefile.bsd
@@ -16,9 +16,9 @@
# Use this if you want HW handshaking on the serial port
#CFLAGS=-g -Wall -O2 -DHW_HANDSHAKE
# Otherwise, leave it out
-CFLAGS=-g -Wall -O2 -D__NetBSD__
+CFLAGS+=-g -Wall -O2 -D__NetBSD__
-CC=gcc
+#CC=gcc
OBJS=lserial.o coff.o unix_key.o
ALLFILES = dl.c lserial.c serial.h \
Makefile coff21k.h coff.c
@@ -28,7 +28,7 @@
all: $(TARGETS)
dl: dl.o $(OBJS)
- gcc -o $@ $@.o $(OBJS)
+ $(CC) -o $@ $@.o $(OBJS)
checkin:
ci -u $(ALLFILES)
@@ -41,6 +41,6 @@
fi
clean:
- (rm *.o *~ *.core $(TARGETS))
+ rm -f *.o *~ *.core $(TARGETS)
#EOF