Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11]) by narn.NetBSD.org (Postfix) with ESMTP id 9963263B842 for ; Thu, 18 Sep 2008 02:18:34 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 0) id 46E3663B239; Thu, 18 Sep 2008 02:18:34 +0000 (UTC) Received: from cvs.netbsd.org (unknown [IPv6:2001:4f8:4:7:2e0:81ff:fe25:eab4]) by mail.netbsd.org (Postfix) with ESMTP id 7E7B163B237 for ; Thu, 18 Sep 2008 02:18:33 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 4FA4F175D0; Thu, 18 Sep 2008 02:18:33 +0000 (UTC) From: Quentin Garnier Subject: CVS commit: [cube-native-xorg] pkgsrc/mk/buildlink3 To: pkgsrc-changes@NetBSD.org Reply-To: cube@netbsd.org Message-Id: <20080918021833.4FA4F175D0@cvs.netbsd.org> Date: Thu, 18 Sep 2008 02:18:33 +0000 (UTC) Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes Precedence: list Module Name: pkgsrc Committed By: cube Date: Thu Sep 18 02:18:33 UTC 2008 Modified Files: pkgsrc/mk/buildlink3 [cube-native-xorg]: pkgconfig-builtin.mk Log Message: - Make this subroutine more generic by allowing a base in which the files are considered native different than X11BASE. However, it is the default. - Fix an evaluation bug for BUILTIN_PKG.; := is needed here. - Only construct a BUILTIN_PKG. variable if we actually found a .pc file. This allows the caller to search for more than just a .pc file, in case the native package doesn't provide one, or even not to search for .pc file, but for something different. This makes the subroutine even more generic. To generate a diff of this commit: cvs rdiff -r1.1.2.2 -r1.1.2.3 pkgsrc/mk/buildlink3/pkgconfig-builtin.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.