From owner-svn-ports-all@FreeBSD.ORG Sun Nov 3 19:41:59 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 07BEB67A; Sun, 3 Nov 2013 19:41:59 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E705D2EAB; Sun, 3 Nov 2013 19:41:58 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA3JfwZQ010436; Sun, 3 Nov 2013 19:41:58 GMT (envelope-from rene@svn.freebsd.org) Received: (from rene@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA3Jfwb6010435; Sun, 3 Nov 2013 19:41:58 GMT (envelope-from rene@svn.freebsd.org) Message-Id: <201311031941.rA3Jfwb6010435@svn.freebsd.org> From: Rene Ladan Date: Sun, 3 Nov 2013 19:41:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332641 - head/Mk/Uses X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Nov 2013 19:41:59 -0000 Author: rene Date: Sun Nov 3 19:41:58 2013 New Revision: 332641 URL: http://svnweb.freebsd.org/changeset/ports/332641 Log: Make sure that kldxref(8) is not run when installing into the staging directory to prevent orphaned linker.hints files. Obtained from: Porters Handbook section 6.1 Modified: head/Mk/Uses/kmod.mk Modified: head/Mk/Uses/kmod.mk ============================================================================== --- head/Mk/Uses/kmod.mk Sun Nov 3 19:23:18 2013 (r332640) +++ head/Mk/Uses/kmod.mk Sun Nov 3 19:41:58 2013 (r332641) @@ -26,6 +26,9 @@ SSP_UNSAFE= kernel module does not suppo KMODDIR?= /boot/modules PLIST_SUB+= KMODDIR="${KMODDIR:C,^/,,}" MAKE_ENV+= KMODDIR="${KMODDIR}" SYSDIR="${SRC_BASE}/sys" +.if !defined(NO_STAGE) +MAKE_ENV+= NO_XREF=yes +.endif pre-install: kmod-pre-install kmod-pre-install: