Date: Sun, 3 Nov 2013 19:41:58 +0000 (UTC) From: Rene Ladan <rene@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332641 - head/Mk/Uses Message-ID: <201311031941.rA3Jfwb6010435@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311031941.rA3Jfwb6010435>