From owner-freebsd-threads@FreeBSD.ORG Fri Jun 27 07:47:43 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFCC637B401 for ; Fri, 27 Jun 2003 07:47:43 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id E232043FBD for ; Fri, 27 Jun 2003 07:47:37 -0700 (PDT) (envelope-from ru@sunbay.com) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h5RElUVd096937 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 27 Jun 2003 17:47:31 +0300 (EEST) (envelope-from ru@sunbay.com) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h5RElSed096926; Fri, 27 Jun 2003 17:47:28 +0300 (EEST) (envelope-from ru) Date: Fri, 27 Jun 2003 17:47:28 +0300 From: Ruslan Ermilov To: Marcel Moolenaar Message-ID: <20030627144728.GB88746@sunbay.com> References: <20030627075607.GA42198@dhcp01.pn.xcllnt.net> <20030627080550.GA48342@sunbay.com> <20030627085158.GA42350@dhcp01.pn.xcllnt.net> <20030627101441.GD48342@sunbay.com> <20030627141506.GB43189@dhcp01.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="f2QGlHpHGjS2mn6Y" Content-Disposition: inline In-Reply-To: <20030627141506.GB43189@dhcp01.pn.xcllnt.net> User-Agent: Mutt/1.5.4i cc: threads@freebsd.org Subject: Re: Obsoleting libc_r: How to create compat links X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2003 14:47:44 -0000 --f2QGlHpHGjS2mn6Y Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 27, 2003 at 07:15:06AM -0700, Marcel Moolenaar wrote: > How's this: >=20 > 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: /home/ncvs/src/lib/libthr/Makefile,v > retrieving revision 1.3 > diff -u -r1.3 Makefile > --- Makefile 23 May 2003 09:48:20 -0000 1.3 > +++ Makefile 27 Jun 2003 14:11:33 -0000 > @@ -26,4 +26,16 @@ > .include "${.CURDIR}/sys/Makefile.inc" > .include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc" > =20 > +.if ${MACHINE_ARCH} =3D=3D "ia64" > +.if !defined(NOLIBC_R) > +SYMLINKS+=3Dlibthr.a ${LIBDIR}/libc_r.a > +.if !defined(NOPIC) > +SYMLINKS+=3Dlibthr.so ${SHLIBDIR}/libc_r.so > +.endif > +.if !defined(NOPROFILE) > +SYMLINKS+=3Dlibthr_p.a ${LIBDIR}/libc_r_p.a > +.endif > +.endif > +.endif > + > .include >=20 Looks OK, except that I'd swap the NOLIBC_R and MACHINE_ARCH checks, as the former is more specific to the subject. Sorry in advance for nitpicking. ;) Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software Ltd, ru@FreeBSD.org FreeBSD committer --f2QGlHpHGjS2mn6Y Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+/Fj/Ukv4P6juNwoRAr3bAJ9lvC9bF14WFYI5+Wce3OpFp6MdBwCfS9rd 15ZsiZW9b+zeC8s3nwRLEvE= =8d1J -----END PGP SIGNATURE----- --f2QGlHpHGjS2mn6Y--