Hello community, here is the log from the commit of package mk-configure for openSUSE:Factory checked in at 2020-01-06 15:23:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mk-configure (Old) and /work/SRC/openSUSE:Factory/.mk-configure.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mk-configure" Mon Jan 6 15:23:02 2020 rev:7 rq:761061 version:0.32.1 Changes: -------- --- /work/SRC/openSUSE:Factory/mk-configure/mk-configure.changes 2019-04-15 11:53:33.586600357 +0200 +++ /work/SRC/openSUSE:Factory/.mk-configure.new.6675/mk-configure.changes 2020-01-06 15:23:06.480509452 +0100 @@ -1,0 +2,55 @@ +Sun Jan 5 23:36:18 UTC 2020 - [email protected] + +- Update to 0.32.1: + + Changes between 0.32.0 and 0.32.1: + + * Fix MKC_CHECK_SIZEOF when having slashes in the header part. + Thanks to Niclas Rosenvik for the fix! + + * Fix support for .cxx c++ files in profiled and shared libraries. + Thanks to Niclas Rosenvik for the fix! + + * Fix in presentation/Makefile + + * Fix in mk-configure.7 man page + + * Fix at_do_* target + + * Remove $(COPTS) from $(CFLAGS) and change COMPILE.{c,cc} + + * Fix regression test examples/hello_errwarn on musl-based Linuxes (Alpine Linux) + + Changes from 0.31.0 and 0.32.0 + + * Calculate WARNERR and {CC,CXX}FLAGS.warnerr lazily. This makes some + interesting scenaria possible, for example, setting WARNS in + Makefile.common or Makefile.inc top-level files. + + * Feature "prog_gmake": fix fork-bomb seen on FreeBSD 12.0-RELEASE-p3 + due to features of native make(1). + + * Fixes for builtins prog_gm4, prog_gmake, prog_gawk and prog_flex + (multiline output) + + * MKC_BUILTINS_*: fix find_n_match function in mkc_check_common.sh + + * Minor fixes in examples/hello_{yaxx,calc2} + + * Always apply -Werror=implicit-function-declaration for clang. + This fixes MKC_CHECK_FUNCS on clang-5.0.1 and earlier versions. + + * mkc_imp.foreign_autotools.mk: if AT_MAKE is empty set it to "false" + + * Get rid of builtin "endianess" (with single N) + + * mkc_check_common.sh: always use mkc_which(1) instead of which(1) + + * Updates for Lua code in examples/ + + * BMAKE_REQD check: workaround for broken bmake (seen on Darwin) that + defines empty MAKE_VERSION + + * examples/hello_dictd/test.mk: avoid double-slash in dirs + +------------------------------------------------------------------- Old: ---- mk-configure-0.31.0.tar.gz New: ---- mk-configure-0.32.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mk-configure.spec ++++++ --- /var/tmp/diff_new_pack.hmNpoq/_old 2020-01-06 15:23:07.128509787 +0100 +++ /var/tmp/diff_new_pack.hmNpoq/_new 2020-01-06 15:23:07.128509787 +0100 @@ -17,7 +17,7 @@ Name: mk-configure -Version: 0.31.0 +Version: 0.32.1 Release: 0 Summary: A build system on top of bmake License: BSD-2-Clause AND BSD-2-Clause AND MIT AND ISC ++++++ mk-configure-0.31.0.tar.gz -> mk-configure-0.32.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/Makefile.inc new/mk-configure-0.32.1/Makefile.inc --- old/mk-configure-0.31.0/Makefile.inc 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/Makefile.inc 2020-01-05 23:24:35.000000000 +0100 @@ -1,4 +1,4 @@ -VERSION = 0.31.0 +VERSION = 0.32.1 BIRTHDATE = 2009-02-21 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/builtins/prog_flex new/mk-configure-0.32.1/builtins/prog_flex --- old/mk-configure-0.31.0/builtins/prog_flex 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/builtins/prog_flex 2020-01-05 23:24:35.000000000 +0100 @@ -12,7 +12,6 @@ pathpart=' ' # fake . mkc_check_common.sh -find_n_match flex --version 'flex' -find_n_match lex --version 'flex' - +find_n_match flex --version 'flex' || +find_n_match lex --version 'flex' || echo '' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/builtins/prog_gawk new/mk-configure-0.32.1/builtins/prog_gawk --- old/mk-configure-0.31.0/builtins/prog_gawk 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/builtins/prog_gawk 2020-01-05 23:24:35.000000000 +0100 @@ -12,8 +12,7 @@ pathpart=' ' # fake . mkc_check_common.sh -find_n_match gawk --version 'gnu awk' -find_n_match nawk --version 'gnu awk' -find_n_match awk --version 'gnu awk' - +find_n_match gawk --version 'gnu awk' || +find_n_match nawk --version 'gnu awk' || +find_n_match awk --version 'gnu awk' || echo '' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/builtins/prog_gm4 new/mk-configure-0.32.1/builtins/prog_gm4 --- old/mk-configure-0.31.0/builtins/prog_gm4 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/builtins/prog_gm4 2020-01-05 23:24:35.000000000 +0100 @@ -12,7 +12,6 @@ pathpart=' ' # fake . mkc_check_common.sh -find_n_match gm4 --version 'gnu m4' -find_n_match m4 --version 'gnu m4' - +find_n_match gm4 --version 'gnu m4' || +find_n_match m4 --version 'gnu m4' || echo '' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/builtins/prog_gmake new/mk-configure-0.32.1/builtins/prog_gmake --- old/mk-configure-0.31.0/builtins/prog_gmake 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/builtins/prog_gmake 2020-01-05 23:24:35.000000000 +0100 @@ -12,7 +12,6 @@ pathpart=' ' # fake . mkc_check_common.sh -find_n_match make --version 'gnu make' -find_n_match gmake --version 'gnu make' - +find_n_match make '-f /dev/null --version' 'gnu make' || +find_n_match gmake '-f /dev/null --version' 'gnu make' || echo '' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/doc/NEWS new/mk-configure-0.32.1/doc/NEWS --- old/mk-configure-0.31.0/doc/NEWS 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/doc/NEWS 2020-01-05 23:24:35.000000000 +0100 @@ -1,4 +1,56 @@ ====================================================================== +Version 0.32.1, by Aleksey Cheusov, Mon, 6 Jan 2020 01:11:46 +0300 + + Fix MKC_CHECK_SIZEOF when having slashes in the header part. + Thanks to Niclas Rosenvik for the fix! + + Fix support for .cxx c++ files in profiled and shared libraries. + Thanks to Niclas Rosenvik for the fix! + + Fix in presentation/Makefile + + Fix in mk-configure.7 man page + + Fix at_do_* target + + Remove $(COPTS) from $(CFLAGS) and change COMPILE.{c,cc} + + Fix regression test examples/hello_errwarn on musl-based Linuxes (Alpine Linux) + +====================================================================== +Version 0.32.0, by Aleksey Cheusov, Wed, 1 May 2019 14:18:30 +0300 + + Calculate WARNERR and {CC,CXX}FLAGS.warnerr lazily. This makes some + interesting scenaria possible, for example, setting WARNS in + Makefile.common or Makefile.inc top-level files. + + Feature "prog_gmake": fix fork-bomb seen on FreeBSD 12.0-RELEASE-p3 + due to features of native make(1). + + Fixes for builtins prog_gm4, prog_gmake, prog_gawk and prog_flex + (multiline output) + + MKC_BUILTINS_*: fix find_n_match function in mkc_check_common.sh + + Minor fixes in examples/hello_{yaxx,calc2} + + Always apply -Werror=implicit-function-declaration for clang. + This fixes MKC_CHECK_FUNCS on clang-5.0.1 and earlier versions. + + mkc_imp.foreign_autotools.mk: if AT_MAKE is empty set it to "false" + + Get rid of builtin "endianess" (with single N) + + mkc_check_common.sh: always use mkc_which(1) instead of which(1) + + Updates for Lua code in examples/ + + BMAKE_REQD check: workaround for broken bmake (seen on Darwin) that + defines empty MAKE_VERSION + + examples/hello_dictd/test.mk: avoid double-slash in dirs + +====================================================================== Version 0.31.0, by Aleksey Cheusov, Sun, 7 Apr 2019 23:39:47 +0300 Fix in MKC_CHECK_PROTOTYPES. The problem was it says "found" for diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/doc/TODO new/mk-configure-0.32.1/doc/TODO --- old/mk-configure-0.31.0/doc/TODO 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/doc/TODO 2020-01-05 23:24:35.000000000 +0100 @@ -1,3 +1,7 @@ +Mark COPTS* variables as settable by user. Also, specify that CFLAGS is +applied after CFLAGS0 and before COPTS. + +Introduce MKC_REQUIRE_BUILTINS in addition to MKC_CHECK_BUILTINS remove hello_ prefix from all examples install target: introduce dependencies for target files diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/examples/hello_calc2/parser.y new/mk-configure-0.32.1/examples/hello_calc2/parser.y --- old/mk-configure-0.31.0/examples/hello_calc2/parser.y 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/examples/hello_calc2/parser.y 2020-01-05 23:24:35.000000000 +0100 @@ -2,6 +2,10 @@ %{ #include <stdio.h> #include <mkc_libm.h> + +int yyerror (char *s); +int yylex (void); + %} %union { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/examples/hello_cxxlib/Makefile new/mk-configure-0.32.1/examples/hello_cxxlib/Makefile --- old/mk-configure-0.31.0/examples/hello_cxxlib/Makefile 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/examples/hello_cxxlib/Makefile 2020-01-05 23:24:35.000000000 +0100 @@ -1,6 +1,6 @@ PROJECTNAME = hello_cxx -LIBDEPS = cxxlib:cxxapp +LIBDEPS = cxxlib:cxxapp cxxlib2:cxxapp .include "test.mk" .include <mkc.subdir.mk> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/examples/hello_cxxlib/cxxapp/cxxapp.cc new/mk-configure-0.32.1/examples/hello_cxxlib/cxxapp/cxxapp.cc --- old/mk-configure-0.31.0/examples/hello_cxxlib/cxxapp/cxxapp.cc 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/examples/hello_cxxlib/cxxapp/cxxapp.cc 2020-01-05 23:24:35.000000000 +0100 @@ -1,11 +1,13 @@ #include <iostream> #include "hello_msg.h" +#include "hello_msg2.h" int main (int argc, char **) { hello_msg1 (); std::cout << hello_msg2 () << '\n'; + std::cout << hello_msg3 () << '\n'; return 0; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/examples/hello_cxxlib/cxxlib2/Makefile new/mk-configure-0.32.1/examples/hello_cxxlib/cxxlib2/Makefile --- old/mk-configure-0.31.0/examples/hello_cxxlib/cxxlib2/Makefile 1970-01-01 01:00:00.000000000 +0100 +++ new/mk-configure-0.32.1/examples/hello_cxxlib/cxxlib2/Makefile 2020-01-05 23:24:35.000000000 +0100 @@ -0,0 +1,14 @@ +LIB = cxxlib2 + +WARNS = 4 + +SHLIB_MAJOR = 0 +SHLIB_MINOR = 0 + +INCS = hello_msg2.h + +INCSSRCDIR = include + +SRCS = hello_msg3.cxx + +.include <mkc.lib.mk> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/examples/hello_cxxlib/cxxlib2/hello_msg3.cxx new/mk-configure-0.32.1/examples/hello_cxxlib/cxxlib2/hello_msg3.cxx --- old/mk-configure-0.31.0/examples/hello_cxxlib/cxxlib2/hello_msg3.cxx 1970-01-01 01:00:00.000000000 +0100 +++ new/mk-configure-0.32.1/examples/hello_cxxlib/cxxlib2/hello_msg3.cxx 2020-01-05 23:24:35.000000000 +0100 @@ -0,0 +1,10 @@ +#include <iostream> +#include <string> + +std::string hello_msg3 () +{ + std::string ret = "hello"; + ret += " world"; + ret += " 3!"; + return ret; +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/examples/hello_cxxlib/cxxlib2/include/hello_msg2.h new/mk-configure-0.32.1/examples/hello_cxxlib/cxxlib2/include/hello_msg2.h --- old/mk-configure-0.31.0/examples/hello_cxxlib/cxxlib2/include/hello_msg2.h 1970-01-01 01:00:00.000000000 +0100 +++ new/mk-configure-0.32.1/examples/hello_cxxlib/cxxlib2/include/hello_msg2.h 2020-01-05 23:24:35.000000000 +0100 @@ -0,0 +1,8 @@ +#ifndef _HELLO_MSG3_H_ +#define _HELLO_MSG3_H_ + +#include <string> + +std::string hello_msg3(); + +#endif // _HELLO_MSG3_H_ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/examples/hello_cxxlib/cxxlib2/linkme.mk new/mk-configure-0.32.1/examples/hello_cxxlib/cxxlib2/linkme.mk --- old/mk-configure-0.31.0/examples/hello_cxxlib/cxxlib2/linkme.mk 1970-01-01 01:00:00.000000000 +0100 +++ new/mk-configure-0.32.1/examples/hello_cxxlib/cxxlib2/linkme.mk 2020-01-05 23:24:35.000000000 +0100 @@ -0,0 +1,5 @@ +PATH.cxxlib2 := ${.PARSEDIR:tA} + +DPINCDIRS += ${PATH.cxxlib2}/include +DPLIBDIRS += ${PATH.cxxlib2} +DPLDADD += cxxlib2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/examples/hello_cxxlib/expect.out new/mk-configure-0.32.1/examples/hello_cxxlib/expect.out --- old/mk-configure-0.31.0/examples/hello_cxxlib/expect.out 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/examples/hello_cxxlib/expect.out 2020-01-05 23:24:35.000000000 +0100 @@ -1,5 +1,6 @@ Hello world 1! hello world 2! +hello world 3! =========== all ============ /objdir/Makefile /objdir/Makefile.inc @@ -38,6 +39,14 @@ /objdir/cxxlib/libcxxlib.a /objdir/cxxlib/libcxxlib.so.1.0.5 /objdir/cxxlib/linkme.mk +/objdir/cxxlib2/Makefile +/objdir/cxxlib2/hello_msg3.cxx +/objdir/cxxlib2/hello_msg3.o +/objdir/cxxlib2/hello_msg3.os +/objdir/cxxlib2/include/hello_msg2.h +/objdir/cxxlib2/libcxxlib2.a +/objdir/cxxlib2/libcxxlib2.so.0.0 +/objdir/cxxlib2/linkme.mk /objdir/expect.out /objdir/hello_cxxlib.test.out.tmp /objdir/test.mk @@ -47,6 +56,7 @@ /objdir/prefix/bin/cxxapp /objdir/prefix/include /objdir/prefix/include/hello_msg.h +/objdir/prefix/include/hello_msg2.h /objdir/prefix/include/impl /objdir/prefix/include/impl/hello_msg1.h /objdir/prefix/include/impl/hello_msg2.h @@ -55,6 +65,10 @@ /objdir/prefix/lib/libcxxlib.so /objdir/prefix/lib/libcxxlib.so.1 /objdir/prefix/lib/libcxxlib.so.1.0.5 +/objdir/prefix/lib/libcxxlib2.a +/objdir/prefix/lib/libcxxlib2.so +/objdir/prefix/lib/libcxxlib2.so.0 +/objdir/prefix/lib/libcxxlib2.so.0.0 ======== uninstall ========= ========== clean =========== /objdir/Makefile @@ -84,6 +98,10 @@ /objdir/cxxlib/include/impl/hello_msg1.h /objdir/cxxlib/include/impl/hello_msg2.h /objdir/cxxlib/linkme.mk +/objdir/cxxlib2/Makefile +/objdir/cxxlib2/hello_msg3.cxx +/objdir/cxxlib2/include/hello_msg2.h +/objdir/cxxlib2/linkme.mk /objdir/expect.out /objdir/hello_cxxlib.test.out.tmp /objdir/test.mk @@ -100,6 +118,10 @@ /objdir/cxxlib/include/impl/hello_msg1.h /objdir/cxxlib/include/impl/hello_msg2.h /objdir/cxxlib/linkme.mk +/objdir/cxxlib2/Makefile +/objdir/cxxlib2/hello_msg3.cxx +/objdir/cxxlib2/include/hello_msg2.h +/objdir/cxxlib2/linkme.mk /objdir/expect.out /objdir/hello_cxxlib.test.out.tmp /objdir/test.mk diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/examples/hello_cxxlib/test.mk new/mk-configure-0.32.1/examples/hello_cxxlib/test.mk --- old/mk-configure-0.31.0/examples/hello_cxxlib/test.mk 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/examples/hello_cxxlib/test.mk 2020-01-05 23:24:35.000000000 +0100 @@ -3,8 +3,8 @@ @set -e; \ MKCATPAGES=yes; export MKCATPAGES; \ rm -rf ${.OBJDIR}${PREFIX}; \ - LD_LIBRARY_PATH=${.CURDIR}/cxxlib:$$LD_LIBRARY_PATH; \ - DYLD_LIBRARY_PATH=${.CURDIR}/cxxlib:$$LD_LIBRARY_PATH; \ + LD_LIBRARY_PATH=${.CURDIR}/cxxlib:${.CURDIR}/cxxlib2:$$LD_LIBRARY_PATH; \ + DYLD_LIBRARY_PATH=${.CURDIR}/cxxlib:${.CURDIR}/cxxlib2:$$LD_LIBRARY_PATH; \ LIBRARY_PATH=$$LIBRARY_PATH:$$LD_LIBRARY_PATH; \ export LD_LIBRARY_PATH DYLD_LIBRARY_PATH LIBRARY_PATH; \ ${.CURDIR}/cxxapp/cxxapp; \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/examples/hello_dictd/test.mk new/mk-configure-0.32.1/examples/hello_dictd/test.mk --- old/mk-configure-0.31.0/examples/hello_dictd/test.mk 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/examples/hello_dictd/test.mk 2020-01-05 23:24:35.000000000 +0100 @@ -74,7 +74,7 @@ find ${.OBJDIR} -type d -o -type f -o -type l | grep -v obj1 | \ mkc_test_helper "${PREFIX}" "${.OBJDIR}"; \ echo ===; \ - find ${.OBJDIR}/obj1/${.OBJDIR} -type d -o -type f -o -type l | \ + find ${.OBJDIR}/obj1${.OBJDIR} -type d -o -type f -o -type l | \ mkc_test_helper "${PREFIX}" "${.OBJDIR}"; rm -rf obj1; \ \ echo =========== MKOBJDIRS=yes ============; \ @@ -89,7 +89,7 @@ find ${.OBJDIR} -type d -o -type f -o -type l | grep -v 'obj[23]' | \ mkc_test_helper "${PREFIX}" "${.OBJDIR}"; \ echo ===; \ - find ${.OBJDIR}/obj2/${.OBJDIR} ${.OBJDIR}/obj3 \ + find ${.OBJDIR}/obj2${.OBJDIR} ${.OBJDIR}/obj3 \ -type d -o -type f -o -type l | \ mkc_test_helper "${PREFIX}" "${.OBJDIR}"; rm -rf obj2 obj3; \ \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/examples/hello_errwarn/test.mk new/mk-configure-0.32.1/examples/hello_errwarn/test.mk --- old/mk-configure-0.31.0/examples/hello_errwarn/test.mk 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/examples/hello_errwarn/test.mk 2020-01-05 23:24:35.000000000 +0100 @@ -1,4 +1,4 @@ -SUBST_CMD=sed -e 's,Not enough space,Cannot allocate memory,' +SUBST_CMD=sed -e 's,Not enough space,Cannot allocate memory,' -e 's,Out of memory,Cannot allocate memory,' .PHONY : test_output test_output: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/examples/hello_lua/bar.lua new/mk-configure-0.32.1/examples/hello_lua/bar.lua --- old/mk-configure-0.31.0/examples/hello_lua/bar.lua 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/examples/hello_lua/bar.lua 2020-01-05 23:24:35.000000000 +0100 @@ -1,5 +1,7 @@ -module ("bar") +bar = {} -function get () +function bar.get () return "bar" end + +return bar diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/examples/hello_lua/foo.lua new/mk-configure-0.32.1/examples/hello_lua/foo.lua --- old/mk-configure-0.31.0/examples/hello_lua/foo.lua 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/examples/hello_lua/foo.lua 2020-01-05 23:24:35.000000000 +0100 @@ -1,5 +1,7 @@ -module ("foo") +foo = {} -function get () +function foo.get () return "foo" end + +return foo diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/examples/hello_lua/test.mk new/mk-configure-0.32.1/examples/hello_lua/test.mk --- old/mk-configure-0.31.0/examples/hello_lua/test.mk 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/examples/hello_lua/test.mk 2020-01-05 23:24:35.000000000 +0100 @@ -1,9 +1,10 @@ CLEANDIRS += ${.OBJDIR}/home +install_dirs = ${.OBJDIR}/usr ${.OBJDIR}/opt ${.OBJDIR}/home .PHONY : test_output test_output: @set -e; \ - rm -rf ${.OBJDIR}/usr ${.OBJDIR}/opt; \ + rm -rf ${install_dirs}; \ echo PROJECTNAME=${PROJECTNAME}; \ LUA_PATH=${.CURDIR}/?.lua; \ LUA_CPATH=${.OBJDIR}/?.so; \ @@ -18,7 +19,7 @@ echo ========= install ==========; \ ${MAKE} ${MAKEFLAGS} install -j3 DESTDIR=${.OBJDIR} PREFIX=/usr/local \ > /dev/null; \ - find ${.OBJDIR}/usr ${.OBJDIR}/opt -type f | \ + find ${install_dirs} -type f | \ mkc_test_helper /usr/local "${.OBJDIR}" | uniq; \ \ echo ======== uninstall =========; \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/examples/hello_lua2/bar.lua new/mk-configure-0.32.1/examples/hello_lua2/bar.lua --- old/mk-configure-0.31.0/examples/hello_lua2/bar.lua 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/examples/hello_lua2/bar.lua 2020-01-05 23:24:35.000000000 +0100 @@ -1,5 +1,7 @@ -module ("bar") +bar = {} -function get () +function bar.get () return "bar" end + +return bar diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/examples/hello_lua2/foo.lua new/mk-configure-0.32.1/examples/hello_lua2/foo.lua --- old/mk-configure-0.31.0/examples/hello_lua2/foo.lua 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/examples/hello_lua2/foo.lua 2020-01-05 23:24:35.000000000 +0100 @@ -1,5 +1,7 @@ -module ("foo") +foo = {} -function get () +function foo.get () return "foo" end + +return foo diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/examples/hello_lua2/foobar.in new/mk-configure-0.32.1/examples/hello_lua2/foobar.in --- old/mk-configure-0.31.0/examples/hello_lua2/foobar.in 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/examples/hello_lua2/foobar.in 2020-01-05 23:24:35.000000000 +0100 @@ -1,6 +1,6 @@ #!@LUA@ -require "foo" -require "bar" +local foo = require "foo" +local bar = require "bar" io.write (foo.get () .. bar.get () .. "\n") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/examples/hello_lua2/test.mk new/mk-configure-0.32.1/examples/hello_lua2/test.mk --- old/mk-configure-0.31.0/examples/hello_lua2/test.mk 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/examples/hello_lua2/test.mk 2020-01-05 23:24:35.000000000 +0100 @@ -1,4 +1,5 @@ CLEANDIRS += ${.OBJDIR}/home +install_dirs = ${.OBJDIR}/usr ${.OBJDIR}/opt ${.OBJDIR}/home .PHONY : test_output test_output: @@ -17,12 +18,12 @@ echo ========= install ==========; \ ${MAKE} ${MAKEFLAGS} install -j3 DESTDIR=${.OBJDIR} PREFIX=/usr/local \ > /dev/null; \ - find ${.OBJDIR}/usr ${.OBJDIR}/opt -type f | \ + find ${install_dirs} -type f | \ mkc_test_helper /usr/local "${.OBJDIR}" | uniq; \ \ echo ======== uninstall =========; \ ${MAKE} ${MAKEFLAGS} -j4 uninstall DESTDIR=${.OBJDIR} PREFIX=/usr/local > /dev/null; \ - find ${.OBJDIR}/usr ${.OBJDIR}/opt -type f | \ + find ${install_dirs} -type f | \ mkc_test_helper /usr/local "${.OBJDIR}"; \ \ echo ========== clean ===========; \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/examples/hello_lua3/test.mk new/mk-configure-0.32.1/examples/hello_lua3/test.mk --- old/mk-configure-0.31.0/examples/hello_lua3/test.mk 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/examples/hello_lua3/test.mk 2020-01-05 23:24:35.000000000 +0100 @@ -1,7 +1,9 @@ +install_dirs = ${.OBJDIR}/usr ${.OBJDIR}/opt ${.OBJDIR}/home + .PHONY : test_output test_output: @set -e; \ - rm -rf ${.OBJDIR}/usr ${.OBJDIR}/opt; \ + rm -rf ${install_dirs}; \ echo PROJECTNAME=${PROJECTNAME}; \ MKCATPAGES=yes; export MKCATPAGES; \ \ @@ -12,12 +14,12 @@ echo ========= install ==========; \ ${MAKE} ${MAKEFLAGS} install -j3 DESTDIR=${.OBJDIR} \ > /dev/null; \ - find ${.OBJDIR}/usr ${.OBJDIR}/opt -type f | \ + find ${install_dirs} -type f | \ mkc_test_helper "${PREFIX}" "${.OBJDIR}" | uniq; \ \ echo ======== uninstall =========; \ ${MAKE} ${MAKEFLAGS} -j4 uninstall DESTDIR=${.OBJDIR} > /dev/null; \ - find ${.OBJDIR}/usr ${.OBJDIR}/opt -type f | \ + find ${install_dirs} -type f | \ mkc_test_helper "${PREFIX}" "${.OBJDIR}"; \ \ echo ========== clean ===========; \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/examples/hello_yacc/calc.y new/mk-configure-0.32.1/examples/hello_yacc/calc.y --- old/mk-configure-0.31.0/examples/hello_yacc/calc.y 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/examples/hello_yacc/calc.y 2020-01-05 23:24:35.000000000 +0100 @@ -4,6 +4,8 @@ #define YYSTYPE int void yyerror (char const *s); +int yylex (void); + %} %token NUMBER @@ -27,7 +29,7 @@ %% -yylex (){ +int yylex (void){ int c = getchar (); if (c >= '0' && c <= '9'){ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/main.mk new/mk-configure-0.32.1/main.mk --- old/mk-configure-0.31.0/main.mk 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/main.mk 2020-01-05 23:24:35.000000000 +0100 @@ -13,7 +13,7 @@ mkprofilelib mkdll pkg_config_0 pkg_config_1 pkg_config_1_1 pkg_config_2 \ lua_dirs rec_makefiles reqd reqd2 reqd3 reqd4 reqd_clean_cache \ intexts_cleantrg require_prototype test_subprj_dash test_mkc_vs_PROG \ - test_mkc_vs_LIB test_mkc_vs_SUBDIR test_mkc_vs_SUBPRJ endianess \ + test_mkc_vs_LIB test_mkc_vs_SUBDIR test_mkc_vs_SUBPRJ endianness \ create_cachedir sys_queue predopost_targets FSRCDIR \ os_NetBSD os_OpenBSD os_Linux dltest .for t in ${tests} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/mk/mkc.conf.mk new/mk-configure-0.32.1/mk/mkc.conf.mk --- old/mk-configure-0.31.0/mk/mkc.conf.mk 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/mk/mkc.conf.mk 2020-01-05 23:24:35.000000000 +0100 @@ -69,7 +69,7 @@ ###################################################### # checking for builtin checks .for i in ${MKC_CHECK_BUILTINS} ${MKC_REQUIRE_BUILTINS} -MKC_CUSTOM_FN.${i} ?= ${BUILTINSDIR}/${i:S/endianess/endianness/} +MKC_CUSTOM_FN.${i} ?= ${BUILTINSDIR}/${i} MKC_CHECK_CUSTOM += ${i} MKC_REQUIRE_CUSTOM += ${MKC_REQUIRE_BUILTINS:M${i}} .endfor @@ -149,7 +149,7 @@ SIZEOF.${t:C/:.*,/:/:S|.|_|g:S|-|_|g:S|*|P|g:S|/|_|g:S|:|.|g} != env ${mkc.environ} mkc_check_sizeof ${t:S/:/ /g} .endif .if ${SIZEOF.${t:C/:.*,/:/:S|.|_|g:S|-|_|g:S|*|P|g:S|/|_|g:S|:|.|g}} != failed -MKC_CFLAGS += -DSIZEOF_${t:C/:.*,/:/:S/-/_/g:S| |_|g:S|*|P|g:S|:|_|g:S|.|_|g:tu}=${SIZEOF.${t:C/:.*,/:/:S|.|_|g:S|-|_|g:S|*|P|g:S|/|_|g:S|:|.|g}} +MKC_CFLAGS += -DSIZEOF_${t:C/:.*,/:/:S/-/_/g:S| |_|g:S|*|P|g:S|:|_|g:S|.|_|g:S|/|_|g:tu}=${SIZEOF.${t:C/:.*,/:/:S|.|_|g:S|-|_|g:S|*|P|g:S|/|_|g:S|:|.|g}} .endif .endfor diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/mk/mkc.init.mk new/mk-configure-0.32.1/mk/mkc.init.mk --- old/mk-configure-0.31.0/mk/mkc.init.mk 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/mk/mkc.init.mk 2020-01-05 23:24:35.000000000 +0100 @@ -235,12 +235,12 @@ CC ?= cc CFLAGS ?= -COMPILE.c ?= ${_V} ${CC_PREFIX} ${CC} ${CFLAGS} ${_CPPFLAGS} ${_CFLAGS.ssp} ${_CFLAGS.pie} ${CFLAGS.warns} -c +COMPILE.c ?= ${_V} ${CC_PREFIX} ${CC} ${CFLAGS} ${_CPPFLAGS} ${_CFLAGS.ssp} ${_CFLAGS.pie} ${CFLAGS.warns} ${COPTS} -c MESSAGE.c ?= @${_MESSAGE} "CC: ${.IMPSRC}" CXX ?= c++ CXXFLAGS += ${CFLAGS} -COMPILE.cc ?= ${_V} ${CXX_PREFIX} ${CXX} ${CXXFLAGS} ${_CPPFLAGS} ${_CXXFLAGS.ssp} ${_CXXFLAGS.pie} ${CXXFLAGS.warns} -c +COMPILE.cc ?= ${_V} ${CXX_PREFIX} ${CXX} ${CXXFLAGS} ${_CPPFLAGS} ${_CXXFLAGS.ssp} ${_CXXFLAGS.pie} ${CXXFLAGS.warns} ${COPTS} -c MESSAGE.cc ?= @${_MESSAGE} "CXX: ${.IMPSRC}" OBJC ?= ${CC} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/mk/mkc_imp.foreign_autotools.mk new/mk-configure-0.32.1/mk/mkc_imp.foreign_autotools.mk --- old/mk-configure-0.31.0/mk/mkc_imp.foreign_autotools.mk 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/mk/mkc_imp.foreign_autotools.mk 2020-01-05 23:24:35.000000000 +0100 @@ -61,7 +61,7 @@ ${_V} set -e; \ cd ${_FOBJDIR}; \ if test -f Makefile; then \ - env ${_AT_MAKE_ENV} ${AT_MAKE} ${AT_MAKEFLAGS} ${.TARGET:S/^at_do_//:S/cleandir/distclean/}; \ + env ${_AT_MAKE_ENV} ${AT_MAKE:S/^$$/false/} ${AT_MAKEFLAGS} ${.TARGET:S/^at_do_//:S/cleandir/distclean/}; \ fi .endfor diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/mk/mkc_imp.lib.mk new/mk-configure-0.32.1/mk/mkc_imp.lib.mk --- old/mk-configure-0.31.0/mk/mkc_imp.lib.mk 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/mk/mkc_imp.lib.mk 2020-01-05 23:24:35.000000000 +0100 @@ -33,7 +33,6 @@ # (usually just ${CPPFLAGS.pic} ${CFLAGS.pic}) # AFLAGS.pic: flags for ${AS} to assemble .[sS] to .os objects. -CFLAGS += ${COPTS} FFLAGS += ${FOPTS} OBJS += ${SRCS:N*.h:N*.sh:T:R:S/$/.o/g} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/mk/mkc_imp.platform.sys.mk new/mk-configure-0.32.1/mk/mkc_imp.platform.sys.mk --- old/mk-configure-0.31.0/mk/mkc_imp.platform.sys.mk 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/mk/mkc_imp.platform.sys.mk 2020-01-05 23:24:35.000000000 +0100 @@ -120,7 +120,7 @@ # Default compiler-specific options # C -CFLAGS.dflt.clang = -Qunused-arguments +CFLAGS.dflt.clang = -Qunused-arguments -Werror=implicit-function-declaration CFLAGS.dflt.icc = -we147 # 147 is required for MKC_CHECK_PROTOTYPES CFLAGS += ${CFLAGS.dflt.${CC_TYPE}} @@ -138,17 +138,10 @@ CFLAGS.warnerr.sunpro = -errwarn=%all CFLAGS.warnerr.clang = -Werror -#WARNERR?= ${${WARNS:U0}==4:?yes:no} # Eh, buggy bmake :-( -.if ${WARNS:U0} == 4 -WARNERR ?= yes -.else -WARNERR ?= no -.endif - -.if ${WARNERR:tl} == "yes" -CFLAGS.warnerr = ${CFLAGS.warnerr.${CC_TYPE}} -CXXFLAGS.warnerr = ${CFLAGS.warnerr.${CXX_TYPE}} -.endif +WARNERR ?= ${WARNS:U0:S/4/yes/} + +CFLAGS.warnerr = ${${WARNERR:tl} == "yes":?${CFLAGS.warnerr.${CC_TYPE}}:} +CXXFLAGS.warnerr = ${${WARNERR:tl} == "yes":?${CFLAGS.warnerr.${CXX_TYPE}}:} #################### # C warns for GCC diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/mk/mkc_imp.preinit.mk new/mk-configure-0.32.1/mk/mkc_imp.preinit.mk --- old/mk-configure-0.31.0/mk/mkc_imp.preinit.mk 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/mk/mkc_imp.preinit.mk 2020-01-05 23:24:35.000000000 +0100 @@ -9,7 +9,7 @@ #################### BMAKE_REQD ?= 20110606 -.ifdef MAKE_VERSION +.if !empty(MAKE_VERSION:U) _bmake_ok != test ${MAKE_VERSION:Q} -ge ${BMAKE_REQD:Q} && echo 1 || echo 0 .else _bmake_ok = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/mk/mkc_imp.prog.mk new/mk-configure-0.32.1/mk/mkc_imp.prog.mk --- old/mk-configure-0.31.0/mk/mkc_imp.prog.mk 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/mk/mkc_imp.prog.mk 2020-01-05 23:24:35.000000000 +0100 @@ -12,8 +12,6 @@ proginstall: .PHONY # ensure existence -CFLAGS += ${COPTS} - __proginstall: .USE ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} ${STRIPFLAG} \ -o ${BINOWN:Q} -g ${BINGRP:Q} -m ${BINMODE} ${.ALLSRC} ${.TARGET} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/mk/mkc_imp.rules.mk new/mk-configure-0.32.1/mk/mkc_imp.rules.mk --- old/mk-configure-0.31.0/mk/mkc_imp.rules.mk 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/mk/mkc_imp.rules.mk 2020-01-05 23:24:35.000000000 +0100 @@ -26,11 +26,11 @@ ${MESSAGE.cc} ${COMPILE.cc} ${CPPFLAGS_${_PN}} ${CXXFLAGS_${_PN}} \ ${COPTS_${_PN}} -o ${.TARGET} ${.IMPSRC} -.cc.op .C.op .cpp.op: +.cc.op .cpp.op .cxx.op .C.op: ${MESSAGE.cc} ${COMPILE.cc} -pg ${CPPFLAGS_${_PN}} ${CXXFLAGS_${_PN}} \ ${COPTS_${_PN}} -o ${.TARGET} ${.IMPSRC} -.cc.os .C.os .cpp.os: +.cc.os .cpp.os .cxx.os .C.os: ${MESSAGE.cc} ${COMPILE.cc} ${CXXFLAGS.pic} ${CPPFLAGS_${_PN}} \ ${CXXFLAGS_${_PN}} ${COPTS_${_PN}} -o ${.TARGET} ${.IMPSRC} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/presentation/Makefile new/mk-configure-0.32.1/presentation/Makefile --- old/mk-configure-0.31.0/presentation/Makefile 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/presentation/Makefile 2020-01-05 23:24:35.000000000 +0100 @@ -2,9 +2,12 @@ MKC_REQUIRE_PROGS = ${PS2PDF} ${DOT} ${DVIPS} ${LATEX} +FILES = presentation.pdf myprojects.pdf +FILESDIR = ${DOCDIR} + ############################################################ -all : presentation.pdf myprojects.pdf +do-all : presentation.pdf myprojects.pdf .PHONY : pdf dvi rtf pdf : presentation.pdf Binary files old/mk-configure-0.31.0/presentation/presentation.pdf and new/mk-configure-0.32.1/presentation/presentation.pdf differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/scripts/mk-configure.7.in new/mk-configure-0.32.1/scripts/mk-configure.7.in --- old/mk-configure-0.31.0/scripts/mk-configure.7.in 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/scripts/mk-configure.7.in 2020-01-05 23:24:35.000000000 +0100 @@ -1942,7 +1942,7 @@ file. The files are hard-linked. For example, to link ${BINDIR}/gzip and ${BINDIR}/gunzip, use: .VS - LINKS= ${DESTDIR}/bin/gzip ${DESTDIR}${BINDIR}/gunzip + LINKS= ${BINDIR}/gzip ${BINDIR}/gunzip .VE .RI < "M" > .IP SYMLINKS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/scripts/mkc_check_common.sh new/mk-configure-0.32.1/scripts/mkc_check_common.sh --- old/mk-configure-0.31.0/scripts/mkc_check_common.sh 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/scripts/mkc_check_common.sh 2020-01-05 23:24:35.000000000 +0100 @@ -84,14 +84,15 @@ # $1 - progname # $2 - opts # $3 - regexp for matching - __prog=`which $1 2>/dev/null` + __prog=`mkc_which $1 2>/dev/null` if test -n "$__prog" && "$__prog" $2 2>/dev/null < /dev/null | grep -i "$3" > /dev/null then echo "$__prog" - exit 0 + else + false fi } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/tests/endianess/Makefile new/mk-configure-0.32.1/tests/endianess/Makefile --- old/mk-configure-0.31.0/tests/endianess/Makefile 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/tests/endianess/Makefile 1970-01-01 01:00:00.000000000 +0100 @@ -1,14 +0,0 @@ -# this is a backward compatibility test for endianess (single n) - -MKC_CHECK_BUILTINS += endianness - -MKC_REQD = 0.12.0 - -.include <mkc.configure.mk> - -.PHONY: showme -showme: - @echo BUILTIN.endianness=${BUILTIN.endianness} - -.include "test.mk" -.include <mkc.prog.mk> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/tests/endianess/expect.out new/mk-configure-0.32.1/tests/endianess/expect.out --- old/mk-configure-0.31.0/tests/endianess/expect.out 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/tests/endianess/expect.out 1970-01-01 01:00:00.000000000 +0100 @@ -1,2 +0,0 @@ -=========== all ============ -BUILTIN.endianness=big diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/tests/endianess/test.mk new/mk-configure-0.32.1/tests/endianess/test.mk --- old/mk-configure-0.31.0/tests/endianess/test.mk 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/tests/endianess/test.mk 1970-01-01 01:00:00.000000000 +0100 @@ -1,12 +0,0 @@ -CLEANDIRS += ${.CURDIR}/testdir - -.PHONY : test_output -test_output: - @set -e; \ - \ - echo =========== all ============; \ - ${MAKE} ${MAKEFLAGS} showme 2>&1 | \ - sed -e 's,^.*warning:,warning:,' -e 's,little,big,'; \ - ${MAKE} ${MAKEFLAGS} distclean > /dev/null - -.include <mkc.minitest.mk> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/tests/endianness/Makefile new/mk-configure-0.32.1/tests/endianness/Makefile --- old/mk-configure-0.31.0/tests/endianness/Makefile 1970-01-01 01:00:00.000000000 +0100 +++ new/mk-configure-0.32.1/tests/endianness/Makefile 2020-01-05 23:24:35.000000000 +0100 @@ -0,0 +1,14 @@ +# this is a backward compatibility test for endianess (single n) + +MKC_CHECK_BUILTINS += endianness + +MKC_REQD = 0.12.0 + +.include <mkc.configure.mk> + +.PHONY: showme +showme: + @echo BUILTIN.endianness=${BUILTIN.endianness} + +.include "test.mk" +.include <mkc.prog.mk> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/tests/endianness/expect.out new/mk-configure-0.32.1/tests/endianness/expect.out --- old/mk-configure-0.31.0/tests/endianness/expect.out 1970-01-01 01:00:00.000000000 +0100 +++ new/mk-configure-0.32.1/tests/endianness/expect.out 2020-01-05 23:24:35.000000000 +0100 @@ -0,0 +1,2 @@ +=========== all ============ +BUILTIN.endianness=big diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/tests/endianness/test.mk new/mk-configure-0.32.1/tests/endianness/test.mk --- old/mk-configure-0.31.0/tests/endianness/test.mk 1970-01-01 01:00:00.000000000 +0100 +++ new/mk-configure-0.32.1/tests/endianness/test.mk 2020-01-05 23:24:35.000000000 +0100 @@ -0,0 +1,12 @@ +CLEANDIRS += ${.CURDIR}/testdir + +.PHONY : test_output +test_output: + @set -e; \ + \ + echo =========== all ============; \ + ${MAKE} ${MAKEFLAGS} showme 2>&1 | \ + sed -e 's,^.*warning:,warning:,' -e 's,little,big,'; \ + ${MAKE} ${MAKEFLAGS} distclean > /dev/null + +.include <mkc.minitest.mk> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/tests/os_Linux/Makefile new/mk-configure-0.32.1/tests/os_Linux/Makefile --- old/mk-configure-0.31.0/tests/os_Linux/Makefile 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/tests/os_Linux/Makefile 2020-01-05 23:24:35.000000000 +0100 @@ -6,11 +6,13 @@ MKC_PROTOTYPE_FUNC.fts_read = FTSENT*fts_read(FTS*ftsp) MKC_PROTOTYPE_HEADERS.fts_read = sys/types.h sys/stat.h fts.h # spaces instead of comma -.include <mkc.init.mk> +MKC_CHECK_SIZEOF += int:sys/types.h + +.include <mkc.configure.mk> .if ${OPSYS:U} == "Linux" VARIABLES_TO_CHECK= HAVE_HEADER.vis_h HAVE_HEADER.fts_h HAVE_HEADER_FILE.fts_h \ - HAVE_PROTOTYPE.fts_read + HAVE_PROTOTYPE.fts_read SIZEOF.int.sys_types_h .include "test.mk" .else .PHONY: test diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/tests/os_Linux/expect.out new/mk-configure-0.32.1/tests/os_Linux/expect.out --- old/mk-configure-0.31.0/tests/os_Linux/expect.out 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/tests/os_Linux/expect.out 2020-01-05 23:24:35.000000000 +0100 @@ -1,4 +1,6 @@ HAVE_HEADER.vis_h=0 -HAVE_HEADER.fts_h=1 -HAVE_HEADER_FILE.fts_h=1 -HAVE_PROTOTYPE.fts_read=1 +HAVE_HEADER.fts_h=n +HAVE_HEADER_FILE.fts_h=n +HAVE_PROTOTYPE.fts_read=n +SIZEOF.int.sys_types_h=n +CFLAGS= -DHAVE_HEADER_FILE_FTS_H=n -DHAVE_HEADER_FTS_H=n -DSIZEOF_INT_SYS_TYPES_H=n -DHAVE_PROTOTYPE_FTS_READ=n diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/tests/os_NetBSD/expect.out new/mk-configure-0.32.1/tests/os_NetBSD/expect.out --- old/mk-configure-0.31.0/tests/os_NetBSD/expect.out 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/tests/os_NetBSD/expect.out 2020-01-05 23:24:35.000000000 +0100 @@ -1,6 +1,7 @@ -HAVE_HEADER.vis_h=1 -HAVE_HEADER.fts_h=1 -HAVE_HEADER_FILE.fts_h=1 -HAVE_PROTOTYPE.fts_read=1 -HAVE_FUNC1.htobe32.sys_endian_h=1 -HAVE_FUNC1.bswap64.machine_bswap_h=1 +HAVE_HEADER.vis_h=n +HAVE_HEADER.fts_h=n +HAVE_HEADER_FILE.fts_h=n +HAVE_PROTOTYPE.fts_read=n +HAVE_FUNC1.htobe32.sys_endian_h=n +HAVE_FUNC1.bswap64.machine_bswap_h=n +CFLAGS= -DHAVE_HEADER_FILE_FTS_H=n -DHAVE_HEADER_VIS_H=n -DHAVE_HEADER_FTS_H=n -DHAVE_FUNC1_HTOBE32_SYS_ENDIAN_H=n -DHAVE_FUNC1_BSWAP64_MACHINE_BSWAP_H=n -DHAVE_PROTOTYPE_FTS_READ=n diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/tests/os_NetBSD/test.mk new/mk-configure-0.32.1/tests/os_NetBSD/test.mk --- old/mk-configure-0.31.0/tests/os_NetBSD/test.mk 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/tests/os_NetBSD/test.mk 2020-01-05 23:24:35.000000000 +0100 @@ -1,8 +1,9 @@ .PHONY : test_output test_output: .for v in ${VARIABLES_TO_CHECK} - @echo ${v}=${${v}} + @echo ${v}=${${v}} | sed 's/=[1-9]/=n/g' .endfor + @echo CFLAGS=${CFLAGS} | sed 's/=[1-9]/=n/g' @${MAKE} ${MAKEFLAGS} cleandir > /dev/null 2>&1 .include <mkc.minitest.mk> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mk-configure-0.31.0/tests/os_OpenBSD/expect.out new/mk-configure-0.32.1/tests/os_OpenBSD/expect.out --- old/mk-configure-0.31.0/tests/os_OpenBSD/expect.out 2019-04-08 23:06:12.000000000 +0200 +++ new/mk-configure-0.32.1/tests/os_OpenBSD/expect.out 2020-01-05 23:24:35.000000000 +0100 @@ -1 +1,2 @@ -HAVE_HEADER_FILE.vis_h=1 +HAVE_HEADER_FILE.vis_h=n +CFLAGS= -DHAVE_HEADER_FILE_FTS_H=n -DHAVE_HEADER_FTS_H=n -DSIZEOF_INT_SYS_TYPES_H=n -DHAVE_PROTOTYPE_FTS_READ=n ++++++ mk-configure-rpmlintrc ++++++ --- /var/tmp/diff_new_pack.hmNpoq/_old 2020-01-06 15:23:07.316509884 +0100 +++ /var/tmp/diff_new_pack.hmNpoq/_new 2020-01-06 15:23:07.316509884 +0100 @@ -5,3 +5,4 @@ # Let's skip it. addFilter("doc-file-dependency /usr/share/doc/packages/mk-configure-doc/examples/.* /usr/bin/env"); addFilter("doc-file-dependency /usr/share/doc/packages/mk-configure-doc/examples/.*/bin/sh"); +addFilter("wrong-script-interpreter /usr/share/doc/packages/mk-configure-doc/examples/hello_lua2/foobar.in");
