pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/mk-configure
Module Name: pkgsrc
Committed By: cheusov
Date: Tue Feb 4 02:53:01 UTC 2014
Modified Files:
pkgsrc/devel/mk-configure: Makefile PLIST distinfo
Log Message:
Update mk-configure to 0.26.0
"Features" framework was implemented (variable MKC_FEATURES). In
general, a feature is something that has problems with
portability. This may be a function name or header missing on some
platforms, for example. What developer needs to do is to add
FEATURENAME to MKC_FEATURES variable and add #include
<mkc_FEATURENAME.h> where it is needed. Internally, system
requiremets are checked in the automatically included
mkc_imp.f_FEATURENAME.mk file and all required actions (includes,
define checks etc.) are made in mkc_FEATURENAME.h header file.
Currently the following features are provided: strlcat, strlcpy,
getline, libm, libdl, RB, SPLAY, SLIST, SIMPLEQ, STAILQ, LIST, TAILQ
and CIRCLEQ. Original idea was stolen from pkgsrc.
mkc_imp.pkg-config.mk:
- New variables MKC_CHECK_PKGCONFIG and MKC_REQUIRE_PKGCONFIG were
introduced. They work just like other MKC_{CHECK,REQUIRE}_*
variables from mkc.configure.mk. Thanks to Andrew Shadura for
pushing me to this direction.
mkc.configure.mk:
- MKC_{CHECK,REQUIRE}_PROTOTYPES were introduced. With their help
mk-configure is able to check C function prototypes. This
feature was proposed by Andrew Shadura.
If ${MKC_CACHEDIR} does not exit, it is automatically created.
${SRCTOP}/Makefile.common is included by all subprojects if it
exists. It can be used as a replacement or addition for
../Makefile.inc.
Valiables SRCDIR_<dir>, SRC_PATHADD, MKC_SOURCE_DIR, LDFLAGS0 and
LDADD0 were introduced.
Wrongly named builtin 'endianess' was renamed to 'endianness'.
Thanks to Andew Shadura for the report and fix!
mk-configure itself is now 2-level project.
This allows me to run an arbitrary regression test like the following
bmake test-examples/hello_world
Hurray! :-)
mkc.subprj.mk:
- Now it works correctly if NOSUBDIR is not empty.
Also, NOSUBDIR affects NODEPS and therefore the dependency graph.
- New target "print-deps" that outputs the dependency graph was
introduced.
-O is added to CFLAGS if USE_FORT==yes, seen on Linux/ppc64/gcc
Documentation: clean-ups, grammar fixes, minor improvements.
Fix. Some @@ patterns in mk-configure.7 should not be replaced with
directories. Thanks to Andrew Shadura for the report!
This release was successfully tested on the following platforms:
NetBSD-6.1/amd64, FreeBSD-8.3/amd64, OpenBSD-{4.9,5.3}/x86,
DragonFlyBSD-3.4/x86, Linux/{x86,amd64}, SunOS-5.10/sparc,
SunOS-5.11/x86.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/mk-configure/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/mk-configure/PLIST
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/mk-configure/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index