Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2012 16:54:53 GMT
From:      Garrett Cooper <yanegomi@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/173031: [patch] pass through install as INSTALL when building PORTS_MODULES
Message-ID:  <201210241654.q9OGsrhB066185@red.freebsd.org>
Resent-Message-ID: <201210241700.q9OH01bH049081@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



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