pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/mk-configure Update to 0.31.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a0b538cf657a
branches:  trunk
changeset: 394330:a0b538cf657a
user:      cheusov <cheusov%pkgsrc.org@localhost>
date:      Mon Apr 08 21:42:57 2019 +0000

description:
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".

diffstat:

 devel/mk-configure/Makefile |   4 ++--
 devel/mk-configure/PLIST    |   8 +++++---
 devel/mk-configure/distinfo |  10 +++++-----
 devel/mk-configure/mk-c.mk  |   4 ++--
 4 files changed, 14 insertions(+), 12 deletions(-)

diffs (85 lines):

diff -r 422514e84194 -r a0b538cf657a devel/mk-configure/Makefile
--- a/devel/mk-configure/Makefile       Mon Apr 08 21:39:54 2019 +0000
+++ b/devel/mk-configure/Makefile       Mon Apr 08 21:42:57 2019 +0000
@@ -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 -r 422514e84194 -r a0b538cf657a devel/mk-configure/PLIST
--- a/devel/mk-configure/PLIST  Mon Apr 08 21:39:54 2019 +0000
+++ b/devel/mk-configure/PLIST  Mon Apr 08 21:42:57 2019 +0000
@@ -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/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/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/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.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 -r 422514e84194 -r a0b538cf657a devel/mk-configure/distinfo
--- a/devel/mk-configure/distinfo       Mon Apr 08 21:39:54 2019 +0000
+++ b/devel/mk-configure/distinfo       Mon Apr 08 21:42:57 2019 +0000
@@ -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 -r 422514e84194 -r a0b538cf657a devel/mk-configure/mk-c.mk
--- a/devel/mk-configure/mk-c.mk        Mon Apr 08 21:39:54 2019 +0000
+++ b/devel/mk-configure/mk-c.mk        Mon Apr 08 21:42:57 2019 +0000
@@ -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



Home | Main Index | Thread Index | Old Index