freebsd-ports/comms/bpl+/files/patch-Makefile
Kris Kennaway 8d68bb3e27 Use mkstemp() for tempfile handling instead of tmpnam() [1]
Respect CC and CFLAGS.  Bump PORTREVISION.

Obtained from:	OpenBSD [1]
2003-06-13 21:17:18 +00:00

15 lines
319 B
Text

--- Makefile.orig Fri Jun 13 14:13:23 2003
+++ Makefile Fri Jun 13 14:13:43 2003
@@ -4,11 +4,9 @@
# USE_MKTIME use mktime instead of timelocal
#
MAKE = make
-CC = gcc
-OPTFLAG = -O $(OPTS)
OBJS = bpl.o bplexec.o rsraw.o
-CFLAGS = $(OPTFLAG) $(FLAG1) $(FLAG2)
+CFLAGS += $(FLAG1) $(FLAG2)
all:
@sh config.sh