installincludes, and param.h

Harald Schmalzbauer h.schmalzbauer at
Tue Oct 14 14:43:08 UTC 2014


since insinsts on param.h, I have inconveniences on my
production systems which were installed with "WITHOUT_TOOLCHAIN=true" in
src.conf (resulting in MK_TOOLCHAIN=no).

My first attempt was the following patch:
--- share/mk/   2014-10-14 16:35:53.000000000 +0200
+++ share/mk/        2014-10-14 16:34:57.000000000 +0200
@@ -81,4 +81,9 @@
 realinstall: installincludes
 .ORDER: beforeinstall installincludes
+        ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
+            ${SYSDIR}/sys/param.h ${DESTDIR}${INCLUDEDIR}/sys/sys
 .endif # !defined(NO_INCS) && ${MK_TOOLCHAIN} != "no"

"$SYSDIR" makes the example above not working!
Unfortunately I couldn't figure out when/how param.h gets installed.
Also, I couldn't find out what stage uses include/Makefile, only that
it's not used when  MK_TOOLCHAIN=no.

Any help highly appreciated!



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the freebsd-current mailing list