Date: Fri, 27 Jun 2003 17:47:28 +0300 From: Ruslan Ermilov <ru@freebsd.org> To: Marcel Moolenaar <marcel@xcllnt.net> Cc: threads@freebsd.org Subject: Re: Obsoleting libc_r: How to create compat links Message-ID: <20030627144728.GB88746@sunbay.com> In-Reply-To: <20030627141506.GB43189@dhcp01.pn.xcllnt.net> 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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
On Fri, Jun 27, 2003 at 07:15:06AM -0700, Marcel Moolenaar wrote:
> How's this:
>
> Index: Makefile
> ===================================================================
> 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"
>
> +.if ${MACHINE_ARCH} == "ia64"
> +.if !defined(NOLIBC_R)
> +SYMLINKS+=libthr.a ${LIBDIR}/libc_r.a
> +.if !defined(NOPIC)
> +SYMLINKS+=libthr.so ${SHLIBDIR}/libc_r.so
> +.endif
> +.if !defined(NOPROFILE)
> +SYMLINKS+=libthr_p.a ${LIBDIR}/libc_r_p.a
> +.endif
> +.endif
> +.endif
> +
> .include <bsd.lib.mk>
>
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,
--
Ruslan Ermilov Sysadmin and DBA,
ru@sunbay.com Sunbay Software Ltd,
ru@FreeBSD.org FreeBSD committer
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)
iD8DBQE+/Fj/Ukv4P6juNwoRAr3bAJ9lvC9bF14WFYI5+Wce3OpFp6MdBwCfS9rd
15ZsiZW9b+zeC8s3nwRLEvE=
=8d1J
-----END PGP SIGNATURE-----
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030627144728.GB88746>
