diff options
author | cheusov <cheusov@pkgsrc.org> | 2019-04-08 21:42:57 +0000 |
---|---|---|
committer | cheusov <cheusov@pkgsrc.org> | 2019-04-08 21:42:57 +0000 |
commit | 015ef8f130c6495e137a845677822002d5ba6d6b (patch) | |
tree | 908a764531ddf64820b8001ec4593adc66bcd17e | |
parent | ee4812e9baa519d29139e338411b45b16c28a0e9 (diff) | |
download | pkgsrc-015ef8f130c6495e137a845677822002d5ba6d6b.tar.gz |
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_<xxx> define. A check for
this define guarantees that #include <mkc_XXX.h> are not used
without appropriate MKC_FEATURES += <xxx> 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<n>, MKC_CHECK_PROTOTYPES, MKC_CHECK_SIZEOF and
MKC_PROTOTYPE_HEADERS.<name> 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<n>: new variable MKC_FUNC_OR_DEFINE.<func> 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".
-rw-r--r-- | devel/mk-configure/Makefile | 4 | ||||
-rw-r--r-- | devel/mk-configure/PLIST | 8 | ||||
-rw-r--r-- | devel/mk-configure/distinfo | 10 | ||||
-rw-r--r-- | devel/mk-configure/mk-c.mk | 4 |
4 files changed, 14 insertions, 12 deletions
diff --git a/devel/mk-configure/Makefile b/devel/mk-configure/Makefile index 72ce4d914c1..fa32f4c840b 100644 --- a/devel/mk-configure/Makefile +++ b/devel/mk-configure/Makefile @@ -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/ diff --git a/devel/mk-configure/PLIST b/devel/mk-configure/PLIST index 3f740f1df17..abc0ebf9ada 100644 --- a/devel/mk-configure/PLIST +++ b/devel/mk-configure/PLIST @@ -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_compiler_opts/Makefile 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/Makefile 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/progname.c 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 diff --git a/devel/mk-configure/distinfo b/devel/mk-configure/distinfo index 666a12d100c..ba4d7e1d125 100644 --- a/devel/mk-configure/distinfo +++ b/devel/mk-configure/distinfo @@ -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 diff --git a/devel/mk-configure/mk-c.mk b/devel/mk-configure/mk-c.mk index 88cc2fb425e..e807d7ae932 100644 --- a/devel/mk-configure/mk-c.mk +++ b/devel/mk-configure/mk-c.mk @@ -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 |