Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Sep 2019 00:08:40 +0000 (UTC)
From:      "Simon J. Gerraty" <sjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r352781 - stable/12/share/mk
Message-ID:  <201909270008.x8R08eCR062382@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sjg
Date: Fri Sep 27 00:08:40 2019
New Revision: 352781
URL: https://svnweb.freebsd.org/changeset/base/352781

Log:
  Use .undef per variable
  
  Attempting to expand a variable to a list of vars to .undef
  does not actually work.
  
  MFC of r343066
  
  Reviewed by:	bdrewery
  Differential Revision:	D17251

Modified:
  stable/12/share/mk/dirdeps-options.mk

Modified: stable/12/share/mk/dirdeps-options.mk
==============================================================================
--- stable/12/share/mk/dirdeps-options.mk	Fri Sep 27 00:00:21 2019	(r352780)
+++ stable/12/share/mk/dirdeps-options.mk	Fri Sep 27 00:08:40 2019	(r352781)
@@ -1,5 +1,5 @@
 # $FreeBSD$
-# $Id: dirdeps-options.mk,v 1.8 2018/05/29 22:31:21 sjg Exp $
+# $Id: dirdeps-options.mk,v 1.9 2018/09/20 00:07:19 sjg Exp $
 #
 #	@(#) Copyright (c) 2018, Simon J. Gerraty
 #
@@ -54,7 +54,8 @@ DIRDEPS += ${DIRDEPS.$o.${MK_$o:U}:U}
 DIRDEPS := ${DIRDEPS:O:u}
 # avoid cross contamination
 .for o in ${DIRDEPS_OPTIONS:tu}
-.undef DIRDEPS.$o.yes DIRDEPS.$o.no
+.undef DIRDEPS.$o.yes
+.undef DIRDEPS.$o.no
 .endfor
 .else
 # whether options are enabled or not,



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