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.35.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8b5ae7ad7066
branches:  trunk
changeset: 442615:8b5ae7ad7066
user:      cheusov <cheusov%pkgsrc.org@localhost>
date:      Thu Nov 26 19:47:54 2020 +0000

description:
Update to 0.35.0

  Add the following new features: arc4random, bswap, dprintf, efun,
  errc, fparseln, fts, posix_getopt, raise_default_signals,
  reallocarray, strsep and vis.
  See mk-configure.7 for details.

  Fixes:
    * mkc_check_decl: fix "prototype" mode. Extraction of function name
      was incorrect.  Add one more regression test for this case in
      tests/os_NetBSD.
    * Avoid multiple repetition of MKC_COMMON_DEFINES in CPPFLAGS
    * Fix target "depend" that failed if SRCS contains full path to
      source code.

  Move -Wreturn-type from CFLAGS.warns.{clang,gcc}.2 to
  CFLAGS.warns.{clang,gcc}.1 and make it an error for C++

  CC_TYPE and CXX_TYPE are correctly set if MKC_CHECK_CUSTOM is set.

  Use .error bmake command for checking MKC_REQD.  Also, move
  appropriate check to mkc_imp.preinit.mk, so it is checked in the
  very beginning.  Documentation and error message are slightly
  updated.

  Rename variable DISTCLEANFILES to CLEANDIRFILES, DISTCLEANFILES is
  considered deprecated.

  Rename variable DISTCLEANDIRS to CLEANDIRDIRS, DISTCLEANDIRS is
  considered deprecated.

  Add support for latest Intel C/C++ compiler.  We have to always add
  -we10006 option to it in order it fail when invalid option is used.

  Adapt some features for using functions implementation from
  libnbcompat and libbsd libraries.

  Use .depend_${.CURDIR:T} instead .depend to support MAKEOBJDIR.

  New tests and examples.

diffstat:

 devel/mk-configure/Makefile |    4 +-
 devel/mk-configure/PLIST    |  646 ++++++++++++++++++++++++-------------------
 devel/mk-configure/distinfo |   10 +-
 3 files changed, 371 insertions(+), 289 deletions(-)

diffs (truncated from 796 to 300 lines):

diff -r fa90c6261dfd -r 8b5ae7ad7066 devel/mk-configure/Makefile
--- a/devel/mk-configure/Makefile       Thu Nov 26 16:35:42 2020 +0000
+++ b/devel/mk-configure/Makefile       Thu Nov 26 19:47:54 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.34 2020/05/14 17:45:44 cheusov Exp $
+# $NetBSD: Makefile,v 1.35 2020/11/26 19:47:54 cheusov Exp $
 #
 
-DISTNAME=      mk-configure-0.34.2
+DISTNAME=      mk-configure-0.35.0
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=mk-configure/}
 
diff -r fa90c6261dfd -r 8b5ae7ad7066 devel/mk-configure/PLIST
--- a/devel/mk-configure/PLIST  Thu Nov 26 16:35:42 2020 +0000
+++ b/devel/mk-configure/PLIST  Thu Nov 26 19:47:54 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.17 2020/03/30 14:10:55 cheusov Exp $
+@comment $NetBSD: PLIST,v 1.18 2020/11/26 19:47:54 cheusov Exp $
 bin/mkc_check_compiler
 bin/mkc_check_custom
 bin/mkc_check_decl
@@ -34,25 +34,197 @@
 share/doc/mk-configure/README.md
 share/doc/mk-configure/TODO
 share/doc/mk-configure/presentation.pdf
-share/examples/mk-configure/Makefile
 share/examples/mk-configure/Makefile.inc
+share/examples/mk-configure/RBTREE/Makefile
+share/examples/mk-configure/RBTREE/expect.out
+share/examples/mk-configure/RBTREE/hello_RBTREE.c
+share/examples/mk-configure/RBTREE/input.in
+share/examples/mk-configure/RBTREE/test.mk
 share/examples/mk-configure/README
+share/examples/mk-configure/SLIST/Makefile
+share/examples/mk-configure/SLIST/expect.out
+share/examples/mk-configure/SLIST/hello_SLIST.c
+share/examples/mk-configure/SLIST/input.in
+share/examples/mk-configure/SLIST/test.mk
+share/examples/mk-configure/arc4random/Makefile
+share/examples/mk-configure/arc4random/expect.out
+share/examples/mk-configure/arc4random/prog.c
+share/examples/mk-configure/arc4random/test.mk
+share/examples/mk-configure/autoconf/Makefile
+share/examples/mk-configure/autoconf/expect.out
+share/examples/mk-configure/autoconf/proj/AUTHORS
+share/examples/mk-configure/autoconf/proj/COPYING
+share/examples/mk-configure/autoconf/proj/ChangeLog
+share/examples/mk-configure/autoconf/proj/Makefile.in
+share/examples/mk-configure/autoconf/proj/NEWS
+share/examples/mk-configure/autoconf/proj/README
+share/examples/mk-configure/autoconf/proj/configure.ac
+share/examples/mk-configure/autoconf/proj/hello_autoconf.c
+share/examples/mk-configure/autoconf/test.mk
+share/examples/mk-configure/autotools/Makefile
+share/examples/mk-configure/autotools/expect.out
+share/examples/mk-configure/autotools/proj/AUTHORS
+share/examples/mk-configure/autotools/proj/COPYING
+share/examples/mk-configure/autotools/proj/ChangeLog
+share/examples/mk-configure/autotools/proj/Makefile.am
+share/examples/mk-configure/autotools/proj/NEWS
+share/examples/mk-configure/autotools/proj/README
+share/examples/mk-configure/autotools/proj/configure.ac
+share/examples/mk-configure/autotools/proj/main.c
+share/examples/mk-configure/autotools/test.mk
+share/examples/mk-configure/bswap/Makefile
+share/examples/mk-configure/bswap/expect.out
+share/examples/mk-configure/bswap/prog.c
+share/examples/mk-configure/bswap/test.mk
+share/examples/mk-configure/calc/Makefile
+share/examples/mk-configure/calc/calc.y
+share/examples/mk-configure/calc/expect.out
+share/examples/mk-configure/calc/input.txt
+share/examples/mk-configure/calc/test.mk
+share/examples/mk-configure/calc2/Makefile
+share/examples/mk-configure/calc2/expect.out
+share/examples/mk-configure/calc2/expressions.txt
+share/examples/mk-configure/calc2/lex.l
+share/examples/mk-configure/calc2/parser.y
+share/examples/mk-configure/calc2/test.mk
 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/compatlib/Makefile
+share/examples/mk-configure/compatlib/Makefile.inc
+share/examples/mk-configure/compatlib/expect.out
+share/examples/mk-configure/compatlib/libcmpt/Makefile
+share/examples/mk-configure/compatlib/prog1/Makefile
+share/examples/mk-configure/compatlib/prog1/prog1.c
+share/examples/mk-configure/compatlib/prog2/Makefile
+share/examples/mk-configure/compatlib/prog2/prog2.c
+share/examples/mk-configure/compatlib/test.mk
+share/examples/mk-configure/compilers/Makefile
+share/examples/mk-configure/compilers/compiler_test.c
+share/examples/mk-configure/compilers/expect.out
+share/examples/mk-configure/compilers/test.mk
+share/examples/mk-configure/customtests/Makefile
+share/examples/mk-configure/customtests/custom_tests/alloca_in_alloca_h.c
+share/examples/mk-configure/customtests/custom_tests/alloca_in_stdlib_h.c
+share/examples/mk-configure/customtests/custom_tests/cxx_with_templates.cc
+share/examples/mk-configure/customtests/custom_tests/shtest
+share/examples/mk-configure/customtests/custom_tests/true_is_available
+share/examples/mk-configure/customtests/expect.out
+share/examples/mk-configure/customtests/hello_customtests.c
+share/examples/mk-configure/customtests/test.mk
+share/examples/mk-configure/customtests2/Makefile
+share/examples/mk-configure/customtests2/expect.out
+share/examples/mk-configure/customtests2/hello_customtests2.c
+share/examples/mk-configure/customtests2/test.mk
+share/examples/mk-configure/cxx/Makefile
+share/examples/mk-configure/cxx/expect.out
+share/examples/mk-configure/cxx/five.c
+share/examples/mk-configure/cxx/five.h
+share/examples/mk-configure/cxx/hello_msg.cc
+share/examples/mk-configure/cxx/hello_msg.h
+share/examples/mk-configure/cxx/main.cc
+share/examples/mk-configure/cxx/seven.c
+share/examples/mk-configure/cxx/seven.h
+share/examples/mk-configure/cxx/test.mk
+share/examples/mk-configure/cxxlib/Makefile
+share/examples/mk-configure/cxxlib/Makefile.inc
+share/examples/mk-configure/cxxlib/cxxapp/Makefile
+share/examples/mk-configure/cxxlib/cxxapp/cxxapp.cc
+share/examples/mk-configure/cxxlib/cxxlib/Makefile
+share/examples/mk-configure/cxxlib/cxxlib/dummy.c
+share/examples/mk-configure/cxxlib/cxxlib/hello_msg1.cpp
+share/examples/mk-configure/cxxlib/cxxlib/hello_msg2.cpp
+share/examples/mk-configure/cxxlib/cxxlib/include/hello_msg.h
+share/examples/mk-configure/cxxlib/cxxlib/include/impl/hello_msg1.h
+share/examples/mk-configure/cxxlib/cxxlib/include/impl/hello_msg2.h
+share/examples/mk-configure/cxxlib/cxxlib/linkme.mk
+share/examples/mk-configure/cxxlib/cxxlib2/Makefile
+share/examples/mk-configure/cxxlib/cxxlib2/hello_msg3.cxx
+share/examples/mk-configure/cxxlib/cxxlib2/include/hello_msg2.h
+share/examples/mk-configure/cxxlib/cxxlib2/linkme.mk
+share/examples/mk-configure/cxxlib/expect.out
+share/examples/mk-configure/cxxlib/test.mk
+share/examples/mk-configure/dictd/Makefile
+share/examples/mk-configure/dictd/Makefile.inc
+share/examples/mk-configure/dictd/dict/Makefile
+share/examples/mk-configure/dictd/dict/dict.1
+share/examples/mk-configure/dictd/dict/dict.c
+share/examples/mk-configure/dictd/dictd/Makefile
+share/examples/mk-configure/dictd/dictd/dictd.8
+share/examples/mk-configure/dictd/dictd/dictd.c
+share/examples/mk-configure/dictd/dictfmt/Makefile
+share/examples/mk-configure/dictd/dictfmt/dictfmt.1
+share/examples/mk-configure/dictd/dictfmt/dictfmt.c
+share/examples/mk-configure/dictd/dictzip/Makefile
+share/examples/mk-configure/dictd/dictzip/dictzip.1
+share/examples/mk-configure/dictd/dictzip/dictzip.c
+share/examples/mk-configure/dictd/doc/Makefile
+share/examples/mk-configure/dictd/doc/doc.txt
+share/examples/mk-configure/dictd/expect.out
+share/examples/mk-configure/dictd/libcommon/Makefile
+share/examples/mk-configure/dictd/libcommon/iswalnum.c
+share/examples/mk-configure/dictd/libcommon/str.c
+share/examples/mk-configure/dictd/libdz/Makefile
+share/examples/mk-configure/dictd/libdz/dz.c
+share/examples/mk-configure/dictd/libdz/export.sym
+share/examples/mk-configure/dictd/libmaa/Makefile
+share/examples/mk-configure/dictd/libmaa/export.sym
+share/examples/mk-configure/dictd/libmaa/log.c
+share/examples/mk-configure/dictd/libmaa/prime.c
+share/examples/mk-configure/dictd/libmaa/set.c
+share/examples/mk-configure/dictd/test.mk
+share/examples/mk-configure/dprintf/Makefile
+share/examples/mk-configure/dprintf/expect.out
+share/examples/mk-configure/dprintf/prog.c
+share/examples/mk-configure/dprintf/test.mk
+share/examples/mk-configure/efun/Makefile
+share/examples/mk-configure/efun/expect.out
+share/examples/mk-configure/efun/prog.c
+share/examples/mk-configure/efun/test.mk
+share/examples/mk-configure/errc/Makefile
+share/examples/mk-configure/errc/expect.out
+share/examples/mk-configure/errc/prog.c
+share/examples/mk-configure/errc/test.mk
+share/examples/mk-configure/errwarn/Makefile
+share/examples/mk-configure/errwarn/Makefile.inc
+share/examples/mk-configure/errwarn/expect.out
+share/examples/mk-configure/errwarn/hello.c
+share/examples/mk-configure/errwarn/test.mk
+share/examples/mk-configure/fgetln/Makefile
+share/examples/mk-configure/fgetln/expect.out
+share/examples/mk-configure/fgetln/hello.c
+share/examples/mk-configure/fgetln/test.mk
+share/examples/mk-configure/files/DEBIAN/control
+share/examples/mk-configure/files/Makefile
+share/examples/mk-configure/files/expect.NetBSD.out
+share/examples/mk-configure/files/expect.out
+share/examples/mk-configure/files/shell_func.7
+share/examples/mk-configure/files/shell_func.texinfo
+share/examples/mk-configure/files/shell_func1
+share/examples/mk-configure/files/shell_func2
+share/examples/mk-configure/files/shell_func3
+share/examples/mk-configure/files/test.mk
+share/examples/mk-configure/files2/Makefile
+share/examples/mk-configure/files2/expect.out
+share/examples/mk-configure/files2/hello_world.1
+share/examples/mk-configure/files2/hello_world2
+share/examples/mk-configure/files2/hello_world3.in
+share/examples/mk-configure/files2/main.c
+share/examples/mk-configure/files2/more_scripts/script1
+share/examples/mk-configure/files2/more_scripts/script2
+share/examples/mk-configure/files2/more_scripts/script3
+share/examples/mk-configure/files2/msg.c
+share/examples/mk-configure/files2/test.mk
+share/examples/mk-configure/fparseln/Makefile
+share/examples/mk-configure/fparseln/expect.out
+share/examples/mk-configure/fparseln/input.txt
+share/examples/mk-configure/fparseln/prog.c
+share/examples/mk-configure/fparseln/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
-share/examples/mk-configure/hello_RBTREE/input.in
-share/examples/mk-configure/hello_RBTREE/test.mk
-share/examples/mk-configure/hello_SLIST/Makefile
-share/examples/mk-configure/hello_SLIST/expect.out
-share/examples/mk-configure/hello_SLIST/hello_SLIST.c
-share/examples/mk-configure/hello_SLIST/input.in
-share/examples/mk-configure/hello_SLIST/test.mk
+share/examples/mk-configure/fts/expect.out
+share/examples/mk-configure/fts/prog.c
+share/examples/mk-configure/fts/test.mk
 share/examples/mk-configure/hello_TARGETS/Makefile
 share/examples/mk-configure/hello_TARGETS/Makefile.inc
 share/examples/mk-configure/hello_TARGETS/expect.out
@@ -63,170 +235,10 @@
 share/examples/mk-configure/hello_TARGETS/hello2/hello2.c
 share/examples/mk-configure/hello_TARGETS/hello2/hello2.pod
 share/examples/mk-configure/hello_TARGETS/test.mk
-share/examples/mk-configure/hello_autoconf/Makefile
-share/examples/mk-configure/hello_autoconf/expect.out
-share/examples/mk-configure/hello_autoconf/proj/AUTHORS
-share/examples/mk-configure/hello_autoconf/proj/COPYING
-share/examples/mk-configure/hello_autoconf/proj/ChangeLog
-share/examples/mk-configure/hello_autoconf/proj/Makefile.in
-share/examples/mk-configure/hello_autoconf/proj/NEWS
-share/examples/mk-configure/hello_autoconf/proj/README
-share/examples/mk-configure/hello_autoconf/proj/configure.ac
-share/examples/mk-configure/hello_autoconf/proj/hello_autoconf.c
-share/examples/mk-configure/hello_autoconf/test.mk
-share/examples/mk-configure/hello_autotools/Makefile
-share/examples/mk-configure/hello_autotools/expect.out
-share/examples/mk-configure/hello_autotools/proj/AUTHORS
-share/examples/mk-configure/hello_autotools/proj/COPYING
-share/examples/mk-configure/hello_autotools/proj/ChangeLog
-share/examples/mk-configure/hello_autotools/proj/Makefile.am
-share/examples/mk-configure/hello_autotools/proj/NEWS
-share/examples/mk-configure/hello_autotools/proj/README
-share/examples/mk-configure/hello_autotools/proj/configure.ac
-share/examples/mk-configure/hello_autotools/proj/main.c
-share/examples/mk-configure/hello_autotools/test.mk
-share/examples/mk-configure/hello_calc2/Makefile
-share/examples/mk-configure/hello_calc2/expect.out
-share/examples/mk-configure/hello_calc2/expressions.txt
-share/examples/mk-configure/hello_calc2/lex.l
-share/examples/mk-configure/hello_calc2/parser.y
-share/examples/mk-configure/hello_calc2/test.mk
-share/examples/mk-configure/hello_compatlib/Makefile
-share/examples/mk-configure/hello_compatlib/Makefile.inc
-share/examples/mk-configure/hello_compatlib/expect.out
-share/examples/mk-configure/hello_compatlib/libcmpt/Makefile
-share/examples/mk-configure/hello_compatlib/prog1/Makefile
-share/examples/mk-configure/hello_compatlib/prog1/prog1.c
-share/examples/mk-configure/hello_compatlib/prog2/Makefile
-share/examples/mk-configure/hello_compatlib/prog2/prog2.c
-share/examples/mk-configure/hello_compatlib/test.mk
-share/examples/mk-configure/hello_compilers/Makefile
-share/examples/mk-configure/hello_compilers/compiler_test.c
-share/examples/mk-configure/hello_compilers/expect.out
-share/examples/mk-configure/hello_compilers/test.mk
-share/examples/mk-configure/hello_customtests/Makefile
-share/examples/mk-configure/hello_customtests/custom_tests/alloca_in_alloca_h.c
-share/examples/mk-configure/hello_customtests/custom_tests/alloca_in_stdlib_h.c
-share/examples/mk-configure/hello_customtests/custom_tests/cxx_with_templates.cc
-share/examples/mk-configure/hello_customtests/custom_tests/shtest
-share/examples/mk-configure/hello_customtests/custom_tests/true_is_available
-share/examples/mk-configure/hello_customtests/expect.out
-share/examples/mk-configure/hello_customtests/hello_customtests.c
-share/examples/mk-configure/hello_customtests/test.mk
-share/examples/mk-configure/hello_customtests2/Makefile
-share/examples/mk-configure/hello_customtests2/expect.out
-share/examples/mk-configure/hello_customtests2/hello_customtests2.c
-share/examples/mk-configure/hello_customtests2/test.mk
-share/examples/mk-configure/hello_cxx/Makefile
-share/examples/mk-configure/hello_cxx/expect.out
-share/examples/mk-configure/hello_cxx/five.c
-share/examples/mk-configure/hello_cxx/five.h
-share/examples/mk-configure/hello_cxx/hello_msg.cc
-share/examples/mk-configure/hello_cxx/hello_msg.h
-share/examples/mk-configure/hello_cxx/main.cc
-share/examples/mk-configure/hello_cxx/seven.c
-share/examples/mk-configure/hello_cxx/seven.h
-share/examples/mk-configure/hello_cxx/test.mk



Home | Main Index | Thread Index | Old Index