Subject: Re: pkg/35249: Sendmail fails to find libraries in /usr/pkg/lib on
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Loren M. Lang <lorenl@north-winds.org>
List: pkgsrc-bugs
Date: 12/16/2006 00:50:02
The following reply was made to PR pkg/35249; it has been noted by GNATS.
From: "Loren M. Lang" <lorenl@north-winds.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/35249: Sendmail fails to find libraries in /usr/pkg/lib on
Linux.
Date: Fri, 15 Dec 2006 16:46:10 -0800
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig8ADD1F5F7CB9B0703315605F
Content-Type: multipart/mixed;
boundary="------------010608000403030106050803"
This is a multi-part message in MIME format.
--------------010608000403030106050803
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Apparently I failed to fully test the last patch; this one should work
better. It seems that everytime APPENDDEF is called in site.config.m4,
a layer of quotes is lost exposing the comma in -Wl,-R which eats up
everything after it. I have changed to using LDOPTS instead of LIBS as
nothing else appends to it and so it only needs two layers of quotes.
This has been tested with several cleans followed by builds.
--=20
Loren M. Lang
lorenl@north-winds.org
http://www.north-winds.org/
Public Key: ftp://ftp.north-winds.org/pub/lorenl_pubkey.asc
Fingerprint: CEE1 AAE2 F66C 59B5 34CA C415 6D35 E847 0118 A3D2
--------------010608000403030106050803
Content-Type: text/plain;
name="sendmail.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline;
filename="sendmail.patch"
Index: sendmail/files/site.config.m4
=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/sendmail/files/site.config.m4,v
retrieving revision 1.5
diff -u -r1.5 site.config.m4
--- sendmail/files/site.config.m4 8 Jun 2006 02:26:32 -0000 1.5
+++ sendmail/files/site.config.m4 16 Dec 2006 00:40:14 -0000
@@ -18,3 +18,4 @@
define(`confMAN8EXT', `8')
APPENDDEF(`confENVDEF', `-I${PREFIX}/include')
APPENDDEF(`confLIBS', `-L${PREFIX}/lib')
+APPENDDEF(`confLDOPTS', ``-Wl,-R${PREFIX}/lib'')
--------------010608000403030106050803--
--------------enig8ADD1F5F7CB9B0703315605F
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFg0HaSHsHRHUO+igRAt0ZAKDS4ojdXofWRBeEWCg4BEQvMc0O8ACffmrW
n3xA+tzJU+j1Mo2AAQ4KRDI=
=Xdtp
-----END PGP SIGNATURE-----
--------------enig8ADD1F5F7CB9B0703315605F--