honor CC/CFLAGS, prodding by naddy
This commit is contained in:
parent
c2d859340f
commit
de6e67695e
@ -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>
|
||||
|
14
net/tftp-proxy/patches/patch-Makefile
Normal file
14
net/tftp-proxy/patches/patch-Makefile
Normal 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
|
Loading…
Reference in New Issue
Block a user