Date: Tue, 14 Oct 2003 23:47:07 +0300 From: Ruslan Ermilov <ru@FreeBSD.org> To: Kris Kennaway <kris@obsecurity.org> Cc: ports@FreeBSD.org Subject: Re: libimg-1.2.4 broken on 5.x Message-ID: <20031014204707.GB41875@sunbay.com> In-Reply-To: <20031013213443.GF42230@rot13.obsecurity.org> References: <20031013213443.GF42230@rot13.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--6sX45UoQRIJXqkqR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 13, 2003 at 02:34:43PM -0700, Kris Kennaway wrote: > http://bento.freebsd.org/errorlogs/i386-5-latest/libimg-1.2.4.log >=20 > This is affecting a number of ports - notice that it creates the > libimg.so symlink in /usr/lib instead of /usr/local/lib. I would > guess that a change to *.mk is responsible. >=20 Yes, a change to bsd.lib.mk to support dynamic root (introfuction of /lib) is responsible for the breakage -- .so symlinks are now created in LIBDIR instead of SHLIBDIR. The below patch will work for both 4.x and 5.x. %%% Index: Makefile.bsd =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: /home/ncvs/ports/graphics/libimg/files/Makefile.bsd,v retrieving revision 1.4 diff -u -r1.4 Makefile.bsd --- Makefile.bsd 21 Jul 2002 20:23:00 -0000 1.4 +++ Makefile.bsd 14 Oct 2003 20:41:51 -0000 @@ -44,7 +44,7 @@ =20 DIR =3D lib/Img1.2 INSTDIR =3D ${LOCALBASE}/${DIR} -SHLIBDIR =3D ${LOCALBASE}/lib +LIBDIR =3D ${LOCALBASE}/lib =20 ${INSTDIR} ${INSTDIR}/msgs: ${MKDIR} $@ %%% Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software Ltd, ru@FreeBSD.org FreeBSD committer --6sX45UoQRIJXqkqR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/jGDLUkv4P6juNwoRAmzsAJ9eg4oue8Y4WvBoVLml5EnXwEeNbwCeISk/ +oHoP0MJOvebES1wA217u2k= =2GBj -----END PGP SIGNATURE----- --6sX45UoQRIJXqkqR--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031014204707.GB41875>