Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Nov 2017 20:01:05 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r325971 - head/sys/conf
Message-ID:  <201711182001.vAIK15un001320@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Sat Nov 18 20:01:05 2017
New Revision: 325971
URL: https://svnweb.freebsd.org/changeset/base/325971

Log:
  Fix PORTS_MODULES+'make reinstallkernel' trying to run bogus 'make redeinstall'.
  
  Also fix 'make installkernel' running 'make deinstall' twice.
  
  PR:		201779
  MFC after:	2 weeks
  Sponsored by:	Dell

Modified:
  head/sys/conf/kern.post.mk

Modified: head/sys/conf/kern.post.mk
==============================================================================
--- head/sys/conf/kern.post.mk	Sat Nov 18 20:01:02 2017	(r325970)
+++ head/sys/conf/kern.post.mk	Sat Nov 18 20:01:05 2017	(r325971)
@@ -87,7 +87,7 @@ ${__target}: ports-${__target}
 ports-${__target}:
 .for __i in ${PORTS_MODULES}
 	@${ECHO} "===> Ports module ${__i} (${__target})"
-	cd $${PORTSDIR:-/usr/ports}/${__i}; ${PORTSMODULESENV} ${MAKE} -B ${__target:C/install/deinstall reinstall/:C/reinstall/deinstall reinstall/}
+	cd $${PORTSDIR:-/usr/ports}/${__i}; ${PORTSMODULESENV} ${MAKE} -B ${__target:C/(re)?install/deinstall reinstall/}
 .endfor
 .endfor
 .endif



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