git: db4b5a16a30a - main - Minor simplification of MK_PMC case in usr.sbin/Makefile

Alex Richardson arichardson at FreeBSD.org
Wed Jan 20 10:37:43 UTC 2021


The branch main has been updated by arichardson:

URL: https://cgit.FreeBSD.org/src/commit/?id=db4b5a16a30a7587fc12812d5c8a018fa7a16ded

commit db4b5a16a30a7587fc12812d5c8a018fa7a16ded
Author:     Alex Richardson <arichardson at FreeBSD.org>
AuthorDate: 2021-01-20 09:52:58 +0000
Commit:     Alex Richardson <arichardson at FreeBSD.org>
CommitDate: 2021-01-20 09:52:58 +0000

    Minor simplification of MK_PMC case in usr.sbin/Makefile
    
    MK_PMC is already guarded by MK_CXX in src.opts.mk, so we can actually
    merge it with the following SUBDIR statement after c1a3d7f20696.
    
    Suggested By:   jrtc27
---
 usr.sbin/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile
index 2e01b0fcf847..da61617e408b 100644
--- a/usr.sbin/Makefile
+++ b/usr.sbin/Makefile
@@ -186,8 +186,7 @@ SUBDIR.${MK_NTP}+=	ntp
 SUBDIR.${MK_OPENSSL}+=	keyserv
 SUBDIR.${MK_PF}+=	ftp-proxy
 SUBDIR.${MK_PKGBOOTSTRAP}+=	pkg
-SUBDIR.${MK_PMC}.${MK_CXX}+=	pmc
-SUBDIR.${MK_PMC}+=	pmcannotate pmccontrol pmcstat pmcstudy
+SUBDIR.${MK_PMC}+=	pmc pmcannotate pmccontrol pmcstat pmcstudy
 SUBDIR.${MK_PORTSNAP}+=	portsnap
 SUBDIR.${MK_PPP}+=	ppp
 SUBDIR.${MK_QUOTAS}+=	edquota


More information about the dev-commits-src-all mailing list