From owner-cvs-all@FreeBSD.ORG Thu Oct 27 06:36:30 2005 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD0A116A41F; Thu, 27 Oct 2005 06:36:30 +0000 (GMT) (envelope-from davidxu@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76B1043D46; Thu, 27 Oct 2005 06:36:30 +0000 (GMT) (envelope-from davidxu@freebsd.org) Received: from [127.0.0.1] (davidxu@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9R6aRiE058537; Thu, 27 Oct 2005 06:36:28 GMT (envelope-from davidxu@freebsd.org) Message-ID: <4360756D.1030708@freebsd.org> Date: Thu, 27 Oct 2005 14:36:29 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20050928 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ruslan Ermilov References: <200510270309.j9R39KkY031401@repoman.freebsd.org> <20051027062119.GC68470@ip.net.ua> In-Reply-To: <20051027062119.GC68470@ip.net.ua> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/lib Makefile X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2005 06:36:30 -0000 Ruslan Ermilov wrote: > This should break alpha and sparc64 ports: on these architectures, > libpthread was symlinked to libc_r. The magic is in makefiles: > > # libpthread/Makefile > .if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64" > LIB=kse > .else > LIB=pthread > .endif > > # libc_r/Makefile > .if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64" > SYMLINKS+=lib${LIB}.a ${LIBDIR}/libpthread.a > .if !defined(NO_PIC) > SYMLINKS+=lib${LIB}.so ${SHLIBDIR}/libpthread.so > .endif > .if !defined(NO_PROFILE) > SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libpthread_p.a > .endif > .endif > > > Cheers, Thanks for the information, last time, I have tested it on panther, libthr works, at least works with test programs. Would it be ok to let libthr be the libpthread ? I can not test alpha, it seems beast still uses 5.4. David Xu