From ddf47c8992369e12999efb2950d14a1348a21a3d Mon Sep 17 00:00:00 2001
From: Christian Wiese <morfoh@opensde.org>
Date: Wed, 9 Jan 2008 23:00:10 +0200
Subject: [PATCH] Fixed nmap to remove the unsupported '--docdir' configure
 option

---
 security/nmap/nmap.conf | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/security/nmap/nmap.conf b/security/nmap/nmap.conf
index a4e59d812..507287f80 100644
--- a/security/nmap/nmap.conf
+++ b/security/nmap/nmap.conf
@@ -2,7 +2,7 @@
 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
 # 
 # Filename: package/.../nmap/nmap.conf
-# Copyright (C) 2007 The OpenSDE Project
+# Copyright (C) 2007 - 2008 The OpenSDE Project
 # 
 # More information can be found in the files COPYING and README.
 # 
@@ -12,5 +12,8 @@
 # GNU General Public License can be found in the file COPYING.
 # --- SDE-COPYRIGHT-NOTE-END ---
 
+# configure doesn't support --docdir
+var_remove_regex confopt ' ' "\-\-docdir\=.*"
+
 # GTK+ (nmapfe) support
 pkginstalled gtk+ || var_append confopt ' ' "--without-nmapfe"