aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.sanity.mk
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2015-04-15 15:49:01 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2015-04-15 15:49:01 +0000
commita19989cb5d85838a2e939581d6f2fe16b4a4912b (patch)
treea0bcbc0f21052bf9accc6158bc775881fc9b8b07 /Mk/bsd.sanity.mk
parent4ef246c8c941e179b79562abd82a765cf474f74c (diff)
downloadports-a19989cb5d85838a2e939581d6f2fe16b4a4912b.tar.gz
ports-a19989cb5d85838a2e939581d6f2fe16b4a4912b.zip
Notes
Diffstat (limited to 'Mk/bsd.sanity.mk')
-rw-r--r--Mk/bsd.sanity.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.sanity.mk b/Mk/bsd.sanity.mk
index f182bb70e6d8..e965a117c7d4 100644
--- a/Mk/bsd.sanity.mk
+++ b/Mk/bsd.sanity.mk
@@ -15,7 +15,7 @@ WARNING+= "WITH_NEW_XORG and WITHOUT_NEW_XORG knobs were removed and have no eff
WARNING+= "WITH_KMS was removed and has no effect"
.endif
-.if ${.CURDIR:M${PORTSDIR}*}
+.if exists(${.CURDIR}/../../Mk/bsd.port.mk)
.if ${.CURDIR:H:T} != ${PKGCATEGORY}
DEV_ERROR+= "The first entry in CATEGORIES should be the directory where the port lives"
.endif