Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2013 11:40:55 +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: r333566 - head/Mk/Uses
Message-ID:  <201311121140.rACBetdf013818@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Tue Nov 12 11:40:54 2013
New Revision: 333566
URL: http://svnweb.freebsd.org/changeset/ports/333566

Log:
  Fix with bmake which requires KMODDDIR to be defined before use.
  
  Submitted by:	marino

Modified:
  head/Mk/Uses/kmod.mk

Modified: head/Mk/Uses/kmod.mk
==============================================================================
--- head/Mk/Uses/kmod.mk	Tue Nov 12 11:37:25 2013	(r333565)
+++ head/Mk/Uses/kmod.mk	Tue Nov 12 11:40:54 2013	(r333566)
@@ -23,10 +23,10 @@ CATEGORIES+=	kld
 
 SSP_UNSAFE=	kernel module does not support SSP
 
+KMODDIR?=	/boot/modules
 .if ${KMODDIR} == "/boot/kernel"
 KMODDIR=	/boot/modules
 .endif
-KMODDIR?=	/boot/modules
 PLIST_SUB+=	KMODDIR="${KMODDIR:C,^/,,}"
 MAKE_ENV+=	KMODDIR="${KMODDIR}" SYSDIR="${SRC_BASE}/sys"
 .if !defined(NO_STAGE)



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