From owner-freebsd-ports@FreeBSD.ORG Tue Oct 14 13:47:18 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9685D16A4E7; Tue, 14 Oct 2003 13:47:18 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DAB243F3F; Tue, 14 Oct 2003 13:47:14 -0700 (PDT) (envelope-from ru@sunbay.com) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h9EKl8Z4043500 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Oct 2003 23:47:09 +0300 (EEST) (envelope-from ru@sunbay.com) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9p2/8.12.8/Submit) id h9EKl7f7043495; Tue, 14 Oct 2003 23:47:07 +0300 (EEST) (envelope-from ru) Date: Tue, 14 Oct 2003 23:47:07 +0300 From: Ruslan Ermilov To: Kris Kennaway Message-ID: <20031014204707.GB41875@sunbay.com> References: <20031013213443.GF42230@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6sX45UoQRIJXqkqR" Content-Disposition: inline In-Reply-To: <20031013213443.GF42230@rot13.obsecurity.org> User-Agent: Mutt/1.5.4i cc: Gordon Tetlow cc: ports@FreeBSD.org Subject: Re: libimg-1.2.4 broken on 5.x X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2003 20:47:18 -0000 --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--