Subject: [patch] [security/lsh] build on Linux
To: None <tech-pkg@netbsd.org>
From: Roland Illig <roland.illig@gmx.de>
List: tech-pkg
Date: 07/03/2004 13:57:18
This is a multi-part message in MIME format.
--------------080001000209070901000608
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

please apply this patch to make lsh build on Linux (and perhaps some 
other systems).

Roland

--------------080001000209070901000608
Content-Type: text/plain;
 name="patch-configure"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch-configure"

$NetBSD$

--- ./configure.orig	2003-09-19 19:53:43.000000000 +0200
+++ ./configure	2004-07-03 13:35:08.000000000 +0200
@@ -9882,8 +9882,8 @@
 
 
 if test -z "$no_x" ; then
-    CPPFLAGS="$CPPFLAGS -I$x_includes"
-    LDFLAGS="$LDFLAGS -L$x_libraries"
+    test "I$x_includes" != "I" && CPPFLAGS="$CPPFLAGS -I$x_includes"
+    test "L$x_libraries" != "L" && LDFLAGS="$LDFLAGS -L$x_libraries"
     echo "$as_me:$LINENO: checking $x_libraries" >&5
 echo $ECHO_N "checking $x_libraries... $ECHO_C" >&6
 ac_exists=no

--------------080001000209070901000608--