honor CC/CFLAGS, prodding by naddy

This commit is contained in:
jolan 2005-12-23 17:33:42 +00:00
parent c2d859340f
commit de6e67695e
2 changed files with 18 additions and 1 deletions

View File

@ -1,7 +1,8 @@
# $OpenBSD: Makefile,v 1.1.1.1 2005/12/21 04:00:28 jolan Exp $
# $OpenBSD: Makefile,v 1.2 2005/12/23 17:33:42 jolan Exp $
COMMENT= "tftp proxy for pf"
DISTNAME= tftp-proxy-1.6
PKGNAME= ${DISTNAME}p0
CATEGORIES= net
MASTER_SITES= http://jcs.org/code/
@ -15,4 +16,6 @@ NO_REGRESS= Yes
WANTLIB= c
MAKE_ENV+= CC="${CC}"
.include <bsd.port.mk>

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-Makefile,v 1.1 2005/12/23 17:33:42 jolan Exp $
--- Makefile.orig Fri Dec 16 11:50:27 2005
+++ Makefile Fri Dec 23 11:30:32 2005
@@ -4,8 +4,8 @@
PROG = tftp-proxy
OBJS = tftp-proxy.o filter.o
-CC = cc
-CFLAGS = -O2 -Wall -Wunused -Wmissing-prototypes -Wstrict-prototypes
+#CC = cc
+CFLAGS += -Wall -Wunused -Wmissing-prototypes -Wstrict-prototypes
PREFIX = /usr/local
LEDIR = $(DESTDIR)$(PREFIX)/libexec