Subject: Re: CVS commit: src/gnu/usr.sbin/postfix/tlsmgr
To: Bernd Ernesti <netbsd@lists.veego.de>
From: Rui Paulo <rpaulo@NetBSD.org>
List: source-changes
Date: 09/04/2005 23:13:32
--5mCyUwZo2JvN/JJP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2005.09.04 23:25:24 +0200, Bernd Ernesti wrote:
| On Sun, Sep 04, 2005 at 09:46:45PM +0100, Rui Paulo wrote:
| > On 2005.09.04 21:17:32 +0200, Bernd Ernesti wrote:
| > | > let me suggest
| > | >=20
| > | > -DPADD+=3D ${LIBPMASTER} ${LIBPGLOBAL} ${LIBPTLS} ${LIBCRYPTO} ${LI=
BPUTIL}
| > | > +DPADD+=3D ${LIBPMASTER} ${LIBPGLOBAL} ${LIBPTLS} ${LIBPUTIL} ${LIB=
CRYPTO}
| > | > -LDADD+=3D ${LIBPMASTER} ${LIBPGLOBAL} ${LIBPTLS} ${LIBCRYPTO} ${LI=
BPUTIL} -lssl
| > | > +LDADD+=3D ${LIBPMASTER} ${LIBPGLOBAL} ${LIBPTLS} ${LIBPUTIL} -lssl=
 -lcrypto
| > | >=20
| > | > With this in place, it links both for i386 and sun2.
| > |=20
| > | Hmm, what is now needed, libcrypto, libssl or both?
| >=20
| > Both. Harvard Eidnes suggestion is the right one.
|=20
| Then why is there only a ${LIBCRYPTO} but not an ${LIBSSL} in the DPADD l=
ine?

I missed that. The correct way should be:
DPADD+=3D ${LIBPMASTER} ${LIBPGLOBAL} ${LIBPTLS} ${LIBPUTIL} ${LIBCRYPTO} $=
{LIBSSL}
LDADD+=3D ${LIBPMASTER} ${LIBPGLOBAL} ${LIBPTLS} ${LIBPUTIL} -lcrypto -lssl

First the private postfix libraries, then the shared libraries.

		-- Rui Paulo

--5mCyUwZo2JvN/JJP
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFDG3GMZPqyxs9FH4QRAkeiAJ4q5hUEZbNqr8RkpyzL7hzmzyQyeACcDNMS
4i9RBnpYwNkux9edAQqvKc0=
=r46R
-----END PGP SIGNATURE-----

--5mCyUwZo2JvN/JJP--