Unbreak no_x11 FLAVOR, noticed by Michael Coulter;

Remove redundant patch.

ok Dan Weeks (MAINTAINER).
This commit is contained in:
margarida 2003-12-12 05:11:47 +00:00
parent ff1e87dc68
commit aff38c5778
2 changed files with 2 additions and 14 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.46 2003/12/09 18:42:36 brad Exp $
# $OpenBSD: Makefile,v 1.47 2003/12/12 05:11:47 margarida Exp $
COMMENT= "scan ports and fingerprint stack of network hosts"
@ -30,6 +30,7 @@ LIB_DEPENDS+= pcre::devel/pcre
.if ${FLAVOR:L:Mno_x11}
ALL_TARGET= nmap
CONFIGURE_ARGS+=--without-nmapfe
.else
LIB_DEPENDS+= gtk.1.2,gdk.1.2::x11/gtk+
USE_X11= Yes

View File

@ -1,13 +0,0 @@
$OpenBSD: patch-nbase_configure_ac,v 1.1 2003/12/09 18:42:37 brad Exp $
--- nbase/configure.ac.orig 2003-10-10 12:35:59.000000000 -0700
+++ nbase/configure.ac 2003-10-10 12:36:16.000000000 -0700
@@ -141,6 +141,9 @@ AC_CHECK_HEADERS([netinet/if_ether.h],[]
[#if HAVE_SYS_TYPES_H
# include <sys/types.h>
# endif
+#if HAVE_NETINET_IN_H
+# include <netinet/in.h>
+#endif
#if HAVE_SYS_SOCKET_H
# include <sys/socket.h>
# endif