misc/173031: [patch] pass through install as INSTALL when building PORTS_MODULES
Garrett Cooper
yanegomi at gmail.com
Wed Oct 24 17:00:01 UTC 2012
>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 at 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:
More information about the freebsd-bugs
mailing list