From owner-freebsd-current@FreeBSD.ORG Tue Oct 14 14:43:08 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 831EE46A for ; Tue, 14 Oct 2014 14:43:08 +0000 (UTC) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EBD0F7C4 for ; Tue, 14 Oct 2014 14:43:07 +0000 (UTC) Received: from mh0.gentlemail.de (mh0.gentlemail.de [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id s9EEh4Di058693 for ; Tue, 14 Oct 2014 16:43:04 +0200 (CEST) (envelope-from h.schmalzbauer@omnilan.de) Received: from titan.inop.mo1.omnilan.net (titan.inop.mo1.omnilan.net [IPv6:2001:a60:f0bb:1::3:1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 3860A3394; Tue, 14 Oct 2014 16:43:04 +0200 (CEST) Message-ID: <543D3671.8040004@omnilan.de> Date: Tue, 14 Oct 2014 16:42:57 +0200 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: FreeBSD current Subject: installincludes, bsd.incs.mk and param.h X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC823973ECAEB3ADE3BF66AF3" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Tue, 14 Oct 2014 16:43:04 +0200 (CEST) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2014 14:43:08 -0000 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--