Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Oct 2014 16:42:57 +0200
From:      Harald Schmalzbauer <h.schmalzbauer@omnilan.de>
To:        FreeBSD current <freebsd-current@freebsd.org>
Subject:   installincludes, bsd.incs.mk and param.h
Message-ID:  <543D3671.8040004@omnilan.de>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigC823973ECAEB3ADE3BF66AF3
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

 Hello,

since bsd.port.mk insinsts on param.h, I have inconveniences on my
production systems which were installed with "WITHOUT_TOOLCHAIN=3Dtrue" i=
n
src.conf (resulting in MK_TOOLCHAIN=3Dno).

My first attempt was the following patch:
--- share/mk/bsd.incs.mk.orig   2014-10-14 16:35:53.000000000 +0200
+++ share/mk/bsd.incs.mk        2014-10-14 16:34:57.000000000 +0200
@@ -81,4 +81,9 @@
 realinstall: installincludes
 .ORDER: beforeinstall installincludes
=20
+.else
+installincludes:
+        ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
+            ${SYSDIR}/sys/param.h ${DESTDIR}${INCLUDEDIR}/sys/sys
+
 .endif # !defined(NO_INCS) && ${MK_TOOLCHAIN} !=3D "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=3Dno.

Any help highly appreciated!

Thanks,

-Harry


--------------enigC823973ECAEB3ADE3BF66AF3
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iEYEARECAAYFAlQ9NncACgkQLDqVQ9VXb8h/twCfYaJO635uQMY/BP2Eow5HfVw8
nVoAoITqOFD3OV7qXQIgcKKRTarLo/GC
=CY47
-----END PGP SIGNATURE-----

--------------enigC823973ECAEB3ADE3BF66AF3--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?543D3671.8040004>