Received: by mail.netbsd.org (Postfix, from userid 605) id 6052984DEE; Mon, 8 Apr 2019 21:42:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id D9F6984DED for ; Mon, 8 Apr 2019 21:42:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id ZxSbJtpe8BAV for ; Mon, 8 Apr 2019 21:42:58 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 1F72A84D82 for ; Mon, 8 Apr 2019 21:42:58 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 1A305FB16; Mon, 8 Apr 2019 21:42:58 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1554759778245740" MIME-Version: 1.0 Date: Mon, 8 Apr 2019 21:42:58 +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: <20190408214258.1A305FB16@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1554759778245740 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: cheusov Date: Mon Apr 8 21:42:58 UTC 2019 Modified Files: pkgsrc/devel/mk-configure: Makefile PLIST distinfo mk-c.mk Log Message: Update to 0.31.0 Fix in MKC_CHECK_PROTOTYPES. The problem was it says "found" for undeclared prototypes. All FEATURES now check for _MKC_CHECK_ define. A check for this define guarantees that #include are not used without appropriate MKC_FEATURES += in Makefile. New publicly available mkc.conf.mk header was introduced. With a help of it one can implement custom "FEATURES". MKC_CHECK_HEADERS, MKC_CHECK_HEADER_FILES, MKC_CHECK_DEFINES, MKC_CHECK_TYPES, MKC_CHECK_VARS, MKC_CHECK_MEMBERS, MKC_CHECK_FUNCS, MKC_CHECK_PROTOTYPES, MKC_CHECK_SIZEOF and MKC_PROTOTYPE_HEADERS. now accepts a list of comma-separated headers for checking at once. For example, on NetBSD sys/fts.h requires preceding sys/types.h and sys/stat.h. So, now we can write MKC_CHECK_HEADERS = sys/types.h,sys/stat.h,fts.h MKC_CHECK_FUNCS: new variable MKC_FUNC_OR_DEFINE. was introduced. With a help of it one can check for function declaration of equivalent define. mkc_imp.conf-final.mk: duplicated entries are not added to CPPFLAGS, CFLAGS, LDADD and SRCS. Man page for mkc_check_decl, mkc_check_sizeof and mkc_check_headers were updated. mkc.minitest.mk: new variable MKC_DIFF was introduced for diff(1) command. mkc_check_decl: new check type funcordefine was introduced. Improvements and minor fixes in regression tests and examples. This release was sucessfully tested on FreeBSD-11.1, diverse glibc-based Linuxes, NetBSD-8.99, OpenBSD-6.4 and SunOS-5.11. Deprecated features were removed: DPLIBS and PKG_CONFIG_DEPS variables, builtin "endianess". To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 pkgsrc/devel/mk-configure/Makefile cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/mk-configure/PLIST cvs rdiff -u -r1.19 -r1.20 pkgsrc/devel/mk-configure/distinfo cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/mk-configure/mk-c.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1554759778245740 Content-Disposition: inline Content-Length: 4430 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/mk-configure/Makefile diff -u pkgsrc/devel/mk-configure/Makefile:1.24 pkgsrc/devel/mk-configure/Makefile:1.25 --- pkgsrc/devel/mk-configure/Makefile:1.24 Wed Mar 7 10:05:17 2018 +++ pkgsrc/devel/mk-configure/Makefile Mon Apr 8 21:42:57 2019 @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.24 2018/03/07 10:05:17 cheusov Exp $ +# $NetBSD: Makefile,v 1.25 2019/04/08 21:42:57 cheusov Exp $ # -DISTNAME= mk-configure-0.30.0 +DISTNAME= mk-configure-0.31.0 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mk-configure/} MASTER_SITES+= http://mova.org/~cheusov/pub/mk-configure/ Index: pkgsrc/devel/mk-configure/PLIST diff -u pkgsrc/devel/mk-configure/PLIST:1.12 pkgsrc/devel/mk-configure/PLIST:1.13 --- pkgsrc/devel/mk-configure/PLIST:1.12 Sun Nov 19 15:08:25 2017 +++ pkgsrc/devel/mk-configure/PLIST Mon Apr 8 21:42:57 2019 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.12 2017/11/19 15:08:25 cheusov Exp $ +@comment $NetBSD: PLIST,v 1.13 2019/04/08 21:42:57 cheusov Exp $ bin/mkc_check_compiler bin/mkc_check_custom bin/mkc_check_decl @@ -34,6 +34,8 @@ share/examples/mk-configure/check_compil share/examples/mk-configure/check_compiler_opts/expect.out share/examples/mk-configure/check_compiler_opts/hello_world.c share/examples/mk-configure/check_compiler_opts/test.mk +share/examples/mk-configure/fts/Makefile +share/examples/mk-configure/fts/fts.c share/examples/mk-configure/hello_RBTREE/Makefile share/examples/mk-configure/hello_RBTREE/expect.out share/examples/mk-configure/hello_RBTREE/hello_RBTREE.c @@ -225,7 +227,7 @@ share/examples/mk-configure/hello_lua2/M share/examples/mk-configure/hello_lua2/bar.lua share/examples/mk-configure/hello_lua2/expect.out share/examples/mk-configure/hello_lua2/foo.lua -share/examples/mk-configure/hello_lua2/foobar +share/examples/mk-configure/hello_lua2/foobar.in share/examples/mk-configure/hello_lua2/test.mk share/examples/mk-configure/hello_lua3/Makefile share/examples/mk-configure/hello_lua3/expect.out @@ -448,6 +450,7 @@ share/mk-configure/features/progname/pro share/mk-configure/features/strlcat/strlcat.c share/mk-configure/features/strlcpy/strlcpy.c share/mk-configure/features/warn/warn.c +share/mkc-mk/mkc.conf.mk share/mkc-mk/mkc.configure.mk share/mkc-mk/mkc.files.mk share/mkc-mk/mkc.init.mk @@ -464,7 +467,6 @@ share/mkc-mk/mkc_imp.arch.mk share/mkc-mk/mkc_imp.checkprogs.mk share/mkc-mk/mkc_imp.conf-cleanup.mk share/mkc-mk/mkc_imp.conf-final.mk -share/mkc-mk/mkc_imp.conf.mk share/mkc-mk/mkc_imp.dep.mk share/mkc-mk/mkc_imp.dpvars.mk share/mkc-mk/mkc_imp.f_CIRCLEQ.mk Index: pkgsrc/devel/mk-configure/distinfo diff -u pkgsrc/devel/mk-configure/distinfo:1.19 pkgsrc/devel/mk-configure/distinfo:1.20 --- pkgsrc/devel/mk-configure/distinfo:1.19 Wed Mar 7 10:05:17 2018 +++ pkgsrc/devel/mk-configure/distinfo Mon Apr 8 21:42:57 2019 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.19 2018/03/07 10:05:17 cheusov Exp $ +$NetBSD: distinfo,v 1.20 2019/04/08 21:42:57 cheusov Exp $ -SHA1 (mk-configure-0.30.0.tar.gz) = 4b5a3c5419e67660aecbe98d71cd59190e813976 -RMD160 (mk-configure-0.30.0.tar.gz) = f8bd9c423adf25dbdc1d95253fe7a2398ba49881 -SHA512 (mk-configure-0.30.0.tar.gz) = 4afa4df0cdf7872926c48f0a805e6b2fbf3e3bc26aaa46a1ff1a53941e20f840794f6636495ca55aee45635c97ba8028c645fd8b01922e18e0d6837f2c00aed0 -Size (mk-configure-0.30.0.tar.gz) = 301109 bytes +SHA1 (mk-configure-0.31.0.tar.gz) = 7324fa975ab692f5013d9e0a3b31da35fc8722a7 +RMD160 (mk-configure-0.31.0.tar.gz) = 37f732e859b1f61fa38bbcf999adb36fad2e9f1e +SHA512 (mk-configure-0.31.0.tar.gz) = 8b136c989b1c59dda2a07c37e23e2e2957a45f987553ad14b43df51d0e22dbfa08d699a6ff0e346651df056cc338470f215b14b5fac6cc2cb29bb350860e66ab +Size (mk-configure-0.31.0.tar.gz) = 312624 bytes Index: pkgsrc/devel/mk-configure/mk-c.mk diff -u pkgsrc/devel/mk-configure/mk-c.mk:1.6 pkgsrc/devel/mk-configure/mk-c.mk:1.7 --- pkgsrc/devel/mk-configure/mk-c.mk:1.6 Sun Nov 19 15:08:25 2017 +++ pkgsrc/devel/mk-configure/mk-c.mk Mon Apr 8 21:42:57 2019 @@ -1,8 +1,8 @@ -# $NetBSD: mk-c.mk,v 1.6 2017/11/19 15:08:25 cheusov Exp $ +# $NetBSD: mk-c.mk,v 1.7 2019/04/08 21:42:57 cheusov Exp $ TOOL_DEPENDS+= ${BUILDLINK_API_DEPENDS.mk-c}:${BUILDLINK_PKGSRCDIR.mk-c} -MAKE_PROGRAM= mkcmake +MAKE_PROGRAM= ${PREFIX}/bin/mkcmake MAKE_ENV+= MANDIR=${PREFIX}/${PKGMANDIR} INSTALL=${INSTALL:Q} MAKE_ENV+= SYSCONFDIR=${PKG_SYSCONFDIR} CONFIGURE_TARGET?= errorcheck --_----------=_1554759778245740--