From owner-svn-src-all@FreeBSD.ORG Tue Dec 2 23:04:03 2008 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEDCE1065676; Tue, 2 Dec 2008 23:04:03 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 8F9B28FC08; Tue, 2 Dec 2008 23:04:03 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.3/8.14.3) with ESMTP id mB2N3v6J012225; Tue, 2 Dec 2008 18:03:57 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Poul-Henning Kamp Date: Tue, 2 Dec 2008 18:03:45 -0500 User-Agent: KMail/1.9.7 References: <200812021949.mB2JnfZr069753@svn.freebsd.org> In-Reply-To: <200812021949.mB2JnfZr069753@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812021803.46021.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Tue, 02 Dec 2008 18:03:57 -0500 (EST) X-Virus-Scanned: ClamAV 0.93.1/8713/Tue Dec 2 14:59:31 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r185568 - head/lib/libmd X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2008 23:04:04 -0000 On Tuesday 02 December 2008 02:49:41 pm Poul-Henning Kamp wrote: > Author: phk > Date: Tue Dec 2 19:49:41 2008 > New Revision: 185568 > URL: http://svn.freebsd.org/changeset/base/185568 > > Log: > Make the "test" target test the compiled version, instead of the > installed version of the md library. Perhaps use "${.OBJDIR}/libmd.a" rather than "./libmd.a" to be 'make obj' friendly (e.g. buildworld). You could even do something like this: .if exists(${.OBJDIR}/libmd.a) LIBMD= ${.OBJDIR}/libmd.a .else LIBMD= -lmd .endif so it falls back to the system library if you don't have one built (in case you want to test the system library for some reason). -- John Baldwin