Subject: [patch] www/libwww: fixed configure.in
To: None <tech-pkg@netbsd.org>
From: Roland Illig <roland.illig@gmx.de>
List: tech-pkg
Date: 02/26/2004 18:24:36
This is a multi-part message in MIME format.
--------------010407090405020906060404
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

I fixed configure.in to not contain a sequence of

if test -x /bin/true; then
else
fi

as some shells (notably GNU bash-2.05) choke on it.

Now the sequence is

if test -x /bin/true; then
   :
else
   :
fi

Roland

--------------010407090405020906060404
Content-Type: text/x-patch;
 name="libwww-5.4.0-linux-build.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="libwww-5.4.0-linux-build.patch"

Index: patch-am
===================================================================
RCS file: /cvsroot/pkgsrc/www/libwww/patches/patch-am,v
retrieving revision 1.2
diff -u -r1.2 patch-am
--- patch-am	12 Feb 2004 20:31:35 -0000	1.2
+++ patch-am	26 Feb 2004 17:09:16 -0000
@@ -33,7 +33,7 @@
      LIBWWWMD5=""
 +    LIBMD5DEP=""
 +    LIBMD5INC=""
-+    AC_CHECK_LIB(c, MD5Init, [ ], 
++    AC_CHECK_LIB(c, MD5Init, [:], 
 +	[ AC_CHECK_LIB(md5, MD5Init, [ LWWWMD5="-lmd5"; LIBWWWMD5="-lmd5"], [ AC_MSG_ERROR(Could not find md5 functions. You need to compile in the md5 library.) ] ) ] )
      ;;
    *)

--------------010407090405020906060404--