]> xenbits.xensource.com Git - people/liuw/freebsd.git/commitdiff
dtc needs to be installed if MK_GPL_DTC is not set, which doesn't fit into the
authorbdrewery <bdrewery@FreeBSD.org>
Fri, 23 Oct 2015 17:24:34 +0000 (17:24 +0000)
committerbdrewery <bdrewery@FreeBSD.org>
Fri, 23 Oct 2015 17:24:34 +0000 (17:24 +0000)
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

usr.bin/Makefile

index c303d8bcae6dd5a3a759484605d323be85c067b9..ae45c9586b5c08a3b9e890095e6b907ed32103a9 100644 (file)
@@ -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