Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 3F7CCA5673 for ; Tue, 4 Feb 2014 02:53:08 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 9BD9114A1D9; Tue, 4 Feb 2014 02:53:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id EBEC814A1D3 for ; Tue, 4 Feb 2014 02:53:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id djl4AwMW4xzN for ; Tue, 4 Feb 2014 02:53:02 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 37A5214A1AC for ; Tue, 4 Feb 2014 02:53:01 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id B028E96; Tue, 4 Feb 2014 02:53:01 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Tue, 4 Feb 2014 02:53:01 +0000 From: "Aleksey Cheusov" Subject: CVS commit: pkgsrc/devel/mk-configure To: pkgsrc-changes@NetBSD.org Reply-To: cheusov@netbsd.org X-Mailer: log_accum Message-Id: <20140204025301.B028E96@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: cheusov Date: Tue Feb 4 02:53:01 UTC 2014 Modified Files: pkgsrc/devel/mk-configure: Makefile PLIST distinfo Log Message: Update mk-configure to 0.26.0 "Features" framework was implemented (variable MKC_FEATURES). In general, a feature is something that has problems with portability. This may be a function name or header missing on some platforms, for example. What developer needs to do is to add FEATURENAME to MKC_FEATURES variable and add #include where it is needed. Internally, system requiremets are checked in the automatically included mkc_imp.f_FEATURENAME.mk file and all required actions (includes, define checks etc.) are made in mkc_FEATURENAME.h header file. Currently the following features are provided: strlcat, strlcpy, getline, libm, libdl, RB, SPLAY, SLIST, SIMPLEQ, STAILQ, LIST, TAILQ and CIRCLEQ. Original idea was stolen from pkgsrc. mkc_imp.pkg-config.mk: - New variables MKC_CHECK_PKGCONFIG and MKC_REQUIRE_PKGCONFIG were introduced. They work just like other MKC_{CHECK,REQUIRE}_* variables from mkc.configure.mk. Thanks to Andrew Shadura for pushing me to this direction. mkc.configure.mk: - MKC_{CHECK,REQUIRE}_PROTOTYPES were introduced. With their help mk-configure is able to check C function prototypes. This feature was proposed by Andrew Shadura. If ${MKC_CACHEDIR} does not exit, it is automatically created. ${SRCTOP}/Makefile.common is included by all subprojects if it exists. It can be used as a replacement or addition for ../Makefile.inc. Valiables SRCDIR_, SRC_PATHADD, MKC_SOURCE_DIR, LDFLAGS0 and LDADD0 were introduced. Wrongly named builtin 'endianess' was renamed to 'endianness'. Thanks to Andew Shadura for the report and fix! mk-configure itself is now 2-level project. This allows me to run an arbitrary regression test like the following bmake test-examples/hello_world Hurray! :-) mkc.subprj.mk: - Now it works correctly if NOSUBDIR is not empty. Also, NOSUBDIR affects NODEPS and therefore the dependency graph. - New target "print-deps" that outputs the dependency graph was introduced. -O is added to CFLAGS if USE_FORT==yes, seen on Linux/ppc64/gcc Documentation: clean-ups, grammar fixes, minor improvements. Fix. Some @@ patterns in mk-configure.7 should not be replaced with directories. Thanks to Andrew Shadura for the report! This release was successfully tested on the following platforms: NetBSD-6.1/amd64, FreeBSD-8.3/amd64, OpenBSD-{4.9,5.3}/x86, DragonFlyBSD-3.4/x86, Linux/{x86,amd64}, SunOS-5.10/sparc, SunOS-5.11/x86. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/mk-configure/Makefile cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/mk-configure/PLIST cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/mk-configure/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.