From: bdrewery Date: Fri, 23 Oct 2015 17:24:34 +0000 (+0000) Subject: dtc needs to be installed if MK_GPL_DTC is not set, which doesn't fit into the X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=d8c428a7cf6b3f357b98decfdf76122324ba4b83;p=people%2Fliuw%2Ffreebsd.git dtc needs to be installed if MK_GPL_DTC is not set, which doesn't fit into the SUBDIR.yes pattern well. This fixes installation of the BSDL dtc after r288904. Reported by: jhibbits Discussed with: imp Sponsored by: EMC / Isilon Storage Division --- diff --git a/usr.bin/Makefile b/usr.bin/Makefile index c303d8bcae6..ae45c9586b5 100644 --- a/usr.bin/Makefile +++ b/usr.bin/Makefile @@ -209,7 +209,9 @@ SUBDIR.${MK_GAMES}+= number SUBDIR.${MK_GAMES}+= pom SUBDIR.${MK_GAMES}+= primes SUBDIR.${MK_GAMES}+= random -SUBDIR.${MK_GPL_DTC}+= dtc +.if ${MK_GPL_DTC} != "yes" +SUBDIR+= dtc +.endif SUBDIR.${MK_GROFF}+= vgrind SUBDIR.${MK_HESIOD}+= hesinfo SUBDIR.${MK_ICONV}+= iconv