From owner-freebsd-current@FreeBSD.ORG Tue Oct 14 14:52:55 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 A7D84888 for ; Tue, 14 Oct 2014 14:52:55 +0000 (UTC) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (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 660D08CA for ; Tue, 14 Oct 2014 14:52:54 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.9/8.14.9) with ESMTP id s9EEqrmZ037126; Tue, 14 Oct 2014 07:52:53 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.9/8.14.9/Submit) id s9EEqrZL037125; Tue, 14 Oct 2014 07:52:53 -0700 (PDT) (envelope-from david) Date: Tue, 14 Oct 2014 07:52:53 -0700 From: David Wolfskill To: Harald Schmalzbauer Subject: Re: installincludes, bsd.incs.mk and param.h Message-ID: <20141014145253.GD2078@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , Harald Schmalzbauer , FreeBSD current References: <543D3671.8040004@omnilan.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="JAtnJwvplI04zgov" Content-Disposition: inline In-Reply-To: <543D3671.8040004@omnilan.de> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: FreeBSD current 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:52:55 -0000 --JAtnJwvplI04zgov Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 14, 2014 at 04:42:57PM +0200, Harald Schmalzbauer wrote: > Hello, >=20 > since bsd.port.mk insinsts on param.h, I have inconveniences on my > production systems which were installed with "WITHOUT_TOOLCHAIN=3Dtrue" in > src.conf (resulting in MK_TOOLCHAIN=3Dno). >=20 > My first attempt was the following patch: > ... > "$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. >=20 > Any help highly appreciated! > .... My production systems have their OS built on a "build machine"; at install time, the build machine exports its /usr/src and /usr/obj, and I "make installkernel installworld" (& mergemaster...) on the production systems. I'm still building ports using portmaster on the production systems (as I lack the infrastructure to create my own pkg repository, and I need some non-default options), so I export the build machine's /usr/src & /usr/obj to the production machines during the ports builds, as well. That said, I don't try to do anything with respect to MK_TOOLCHAIN -- in normal use, the production machines don't have /usr/src or /usr/obj at all anyway. In any case, this has generally been working for me for many years. Peace, david --=20 David H. Wolfskill david@catwhisker.org Taliban: Evil cowards with guns afraid of truth from a 14-year old girl. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --JAtnJwvplI04zgov Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJUPTjEXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4 QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk7QF0P/Ap40XwsFzTCQQ4uR3ULecLa N36VyoNK6M5RhtVvHP378o9bjpwP87xzwFcBYy8xsaFKSiaVuMLRGhUOs7y1MgXu xLrLlLGccHcKqxy84HRD+qrum5yvMdp2RA7BXxeePqFcafWF7jsMxNj0NQJ6Q3J8 r+Kvx+I/4Cs1y9RYC/uCV3INKdwoaA238mUJban93qwtPwe6AJ1DRwpCK3pNkvE9 I/n+XydlLST0HYjc1yAkfOuAvF32i/n8uGub4TtYQ0zauUAfOV+YGA+CbLlnQnQO SVjRRdStF66gx/r2AYPYo/l7BiuGLS5tTQUQ26GT6LXPvxmQII21oAn/4KY/vll6 ghyOhmDUwAOAU2vsGw5C+4JowoXbuD627Y9N6ncDoseClGVm638ugaIuJP8xMxq5 o20+IcuavqN2/7iChePZjEPSNW5bfmujq+UDk9OBBKEjYnupZUMKAVdZD1ZvxhPt qlDgU9pfOBtYcJzqeMjyyhPSdRbnwkkuIEG3S0Y2cqHPkFQvAps5fc+MRKnaQ+Qf NAAUykjsvxfHYVqrrsokSpKLD6sQRvxNksvQFd/haRPzcUfpt/v4pw00jgV3EZ0l dpyh1RyUMIvT9NmO2481P4MGxZ+f2GkRZVYvqbDOUe9ZC47Wvbye85qKX93XKQgp dLkwDctyocvqDmQ2iEKk =fK1a -----END PGP SIGNATURE----- --JAtnJwvplI04zgov--