Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11]) by narn.NetBSD.org (Postfix) with ESMTP id 81BFA63B8E3 for ; Tue, 11 Mar 2008 15:39:17 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 0) id 3279963B1E4; Tue, 11 Mar 2008 15:39:17 +0000 (UTC) Received: from cvs.netbsd.org (unknown [IPv6:2001:4f8:4:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 7633963B1DE for ; Tue, 11 Mar 2008 15:39:16 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 5E04E175C1; Tue, 11 Mar 2008 15:39:16 +0000 (UTC) From: "Johnny C. Lam" Subject: CVS commit: pkgsrc/mk To: pkgsrc-changes@NetBSD.org Reply-To: jlam@netbsd.org Message-Id: <20080311153916.5E04E175C1@cvs.netbsd.org> Date: Tue, 11 Mar 2008 15:39:16 +0000 (UTC) Sender: pkgsrc-changes-owner@NetBSD.org Precedence: list Module Name: pkgsrc Committed By: jlam Date: Tue Mar 11 15:39:16 UTC 2008 Modified Files: pkgsrc/mk: termcap.builtin.mk Log Message: Improve the detection of the library that contains the built-in termcap. Instead of just looking at the libraries, we check for the headers as well, and if multiple implementations exist (usually because of symlinks to shared libraries), then we order the search as: tinfo, curses, termcap, termlib, c To generate a diff of this commit: cvs rdiff -r1.4 -r1.5 pkgsrc/mk/termcap.builtin.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.