Fix test ==.

Reported by Robert Elz in PR 43046.
This commit is contained in:
wiz 2010-03-23 13:45:28 +00:00
parent dff8d0d8ec
commit 4048f0502b
2 changed files with 16 additions and 7 deletions

View file

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.32 2010/03/21 21:24:25 kim Exp $
$NetBSD: distinfo,v 1.33 2010/03/23 13:45:28 wiz Exp $
SHA1 (proftpd-1.3.3.tar.bz2) = ce7c1f96648f94e32d5d104cd1405e6778aae045
RMD160 (proftpd-1.3.3.tar.bz2) = 01c9226f694129561dd35a03631c6a2b8bd593dc
Size (proftpd-1.3.3.tar.bz2) = 4132650 bytes
SHA1 (patch-aa) = d6060f8a0ccba634983dffeccf4b2e31ae19e7ff
SHA1 (patch-ab) = afc419c23aed22a374b5bfab9ceede7c80b433f3
SHA1 (patch-ab) = f66a80b0db92844f25e290d82d2eea3ada06a822
SHA1 (patch-ac) = e24c3d85acb80e0b46b9c83dc399d5569c5ca9d5
SHA1 (patch-ae) = 0bf4d13e9a6c2a2c1c73ffc9fb7e6e3c3e57a8a8

View file

@ -1,10 +1,19 @@
$NetBSD: patch-ab,v 1.10 2010/03/21 21:24:25 kim Exp $
$NetBSD: patch-ab,v 1.11 2010/03/23 13:45:28 wiz Exp $
Make this pkgsrc friendly.
--- configure.orig 2010-02-15 14:32:24.000000000 -0500
+++ configure 2010-03-21 16:35:31.000000000 -0400
@@ -31715,7 +31715,7 @@
--- configure.orig 2010-02-15 19:32:24.000000000 +0000
+++ configure
@@ -12862,7 +12862,7 @@ if test "${with_modules+set}" = set; the
if test x"$withval" != x; then
modules_list=`echo "$withval" | sed -e 's/:/ /g'`;
for amodule in $modules_list; do
- if test x"$amodule" == xmod_dso ; then
+ if test x"$amodule" = xmod_dso ; then
{ { echo "$as_me:$LINENO: error: use --enable-dso instead of --with-modules=mod_dso for DSO support" >&5
echo "$as_me: error: use --enable-dso instead of --with-modules=mod_dso for DSO support" >&2;}
{ (exit 1); exit 1; }; }
@@ -31715,7 +31715,7 @@ _ACEOF
cat >>confdefs.h <<_ACEOF
@ -13,7 +22,7 @@ Make this pkgsrc friendly.
_ACEOF
cat >>confdefs.h <<_ACEOF
@@ -31723,7 +31723,7 @@
@@ -31723,7 +31723,7 @@ cat >>confdefs.h <<_ACEOF
_ACEOF
cat >>confdefs.h <<_ACEOF