From owner-freebsd-bugs@FreeBSD.ORG Wed Oct 24 17:00:01 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8A82B6A1 for ; Wed, 24 Oct 2012 17:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id 617418FC18 for ; Wed, 24 Oct 2012 17:00:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9OH012l049082 for ; Wed, 24 Oct 2012 17:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9OH01bH049081; Wed, 24 Oct 2012 17:00:01 GMT (envelope-from gnats) Resent-Date: Wed, 24 Oct 2012 17:00:01 GMT Resent-Message-Id: <201210241700.q9OH01bH049081@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Garrett Cooper Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6F6A13DA for ; Wed, 24 Oct 2012 16:54:53 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 55D418FC0C for ; Wed, 24 Oct 2012 16:54:53 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q9OGsrNq066186 for ; Wed, 24 Oct 2012 16:54:53 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id q9OGsrhB066185; Wed, 24 Oct 2012 16:54:53 GMT (envelope-from nobody) Message-Id: <201210241654.q9OGsrhB066185@red.freebsd.org> Date: Wed, 24 Oct 2012 16:54:53 GMT From: Garrett Cooper To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/173031: [patch] pass through install as INSTALL when building PORTS_MODULES X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2012 17:00:01 -0000 >Number: 173031 >Category: misc >Synopsis: [patch] pass through install as INSTALL when building PORTS_MODULES >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 24 17:00:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Garrett Cooper >Release: 10-CURRENT >Organization: EMC Isilon >Environment: FreeBSD fallout-atf-current.local 10.0-CURRENT FreeBSD 10.0-CURRENT #3: Mon Oct 22 10:30:54 PDT 2012 root@fallout-atf-current.local:/usr/obj/usr/src/sys/GENERIC i386 >Description: Some third party software built upon autotools depends on install(1) to be an all singing and dancing version. This isn't the case when building PORTS_MODULES from the base system with some packages (fusefs-kmod, open-vm-tools, etc). The attached patch explicitly sets INSTALL to install (the default in ports) so some 3rd party packages can once again be built via PORTS_MODULES properly. >How-To-Repeat: 1. Install FreeBSD CURRENT on a VM. 2. cd /usr/src && make buildworld && make buildkernel PORTS_MODULES=emulators/open-vm-tools WITH_FUSE=y >Fix: Patch attached with submission follows: Index: sys/conf/kern.post.mk =================================================================== --- sys/conf/kern.post.mk (revision 241518) +++ sys/conf/kern.post.mk (working copy) @@ -56,6 +56,7 @@ # Keep the related ports builds in the obj directory so that they are only rebuilt once per kernel build WRKDIRPREFIX?= ${MAKEOBJDIRPREFIX}${SRC_BASE}/sys/${KERNCONF} PORTSMODULESENV=\ + INSTALL=install \ PATH=${PATH}:${LOCALBASE}/bin:${LOCALBASE}/sbin \ SRC_BASE=${SRC_BASE} \ OSVERSION=${OSRELDATE} \ >Release-Note: >Audit-Trail: >Unformatted: