Subject: Re: imap-uw and Malformed conditional ((${USE_KERBEROS} != "no"))
To: Michael Wolfson <mw@costello.cnf.cornell.edu>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: tech-pkg
Date: 12/15/2002 08:02:45
--cWoXeonUoKmBZSoM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

hi,

On Sun, Dec 15, 2002 at 01:53:23AM -0500, Michael Wolfson wrote:
>=20
> I'm trying to compile a more current imap-uw for my NetBSD 1.5.2 hp300
> system.  I even downloaded and untarred yesterday's pkgsrc.tar.gz.
> Installed the latest pkg_install.  Copied a fresh /etc/mk.conf.  And yet I
> still get the following error:
> (costello) /usr/src/pkgsrc/mail/imap-uw# make install
> "Makefile", line 32: Malformed conditional ((${USE_KERBEROS} !=3D "no"))
> "Makefile", line 32: Missing dependency operator
> "Makefile", line 36: if-less endif
> "Makefile", line 36: Need an operator
>=20
> Any suggestions?

that conditional is apparently wrong because it will fail (as it did for
you) when USE_KERBEROS is not set.  try this patch:

Index: Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/pkgsrc/mail/imap-uw/Makefile,v
retrieving revision 1.50
diff -u -r1.50 Makefile
--- Makefile	2002/12/14 04:34:48	1.50
+++ Makefile	2002/12/15 07:01:49
@@ -29,7 +29,7 @@
 ALL_TARGET=3D	osx
 .else
 ALL_TARGET=3D	neb
-.if (${USE_KERBEROS} !=3D "no")
+.if defined(USE_KERBEROS) && (${USE_KERBEROS} !=3D "no")
 PKG_USE_KERBEROS=3D	#defined
 ALL_TARGET+=3D	EXTRAAUTHENTICATORS=3D"gss"
 .endif


regards,

--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org>                   --
--                  <salo@silcnet.org>                   --

--cWoXeonUoKmBZSoM
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)

iD8DBQE9/CkViwjDDlS8cmMRAmiEAJ9UvirGbz4tJ+4SGiNABG+2zzStOQCfQBCQ
KiNcWTeELQhlYL8/OaluJP0=
=4vCP
-----END PGP SIGNATURE-----

--cWoXeonUoKmBZSoM--