honour CFLAGS; from Stuart Henderson

This commit is contained in:
jakob 2008-01-29 07:49:57 +00:00
parent 943bfe1fe0
commit e7ee760d1a
2 changed files with 15 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.16 2007/09/15 23:30:01 merdely Exp $
# $OpenBSD: Makefile,v 1.17 2008/01/29 07:49:57 jakob Exp $
COMMENT= SSH remote version scanner
DISTNAME= scanssh-2.1
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
CATEGORIES= security
MASTER_SITES= http://monkey.org/~provos/ \
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/scanssh/

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-Makefile_in,v 1.1 2008/01/29 07:49:57 jakob Exp $
--- Makefile.in.orig Mon Jan 28 10:04:29 2008
+++ Makefile.in Mon Jan 28 10:04:12 2008
@@ -79,7 +79,8 @@ bin_PROGRAMS = scanssh
scanssh_SOURCES = scanssh.c atomicio.c exclude.c connecter.c xmalloc.c interface.c socks.c http.c telnet.c exclude.h interface.h scanssh.h socks.h xmalloc.h
scanssh_LDADD = @LIBOBJS@ @PCAPLIB@ @EVENTLIB@ @DNETLIB@
-CFLAGS = -O2 -Wall -g
+CFLAGS ?= -O2 -g
+CFLAGS += -Wall
INCLUDES = -I$(top_srcdir)/@DNETCOMPAT@ -I$(top_srcdir)/compat @EVENTINC@ @PCAPINC@ @DNETINC@