svn commit: r332641 - head/Mk/Uses
Rene Ladan
rene at FreeBSD.org
Sun Nov 3 19:41:59 UTC 2013
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:
More information about the svn-ports-all
mailing list