aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.sanity.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/Mk/bsd.sanity.mk b/Mk/bsd.sanity.mk
index 8ca6fdf58d18..b7e9de292c98 100644
--- a/Mk/bsd.sanity.mk
+++ b/Mk/bsd.sanity.mk
@@ -51,6 +51,14 @@ DEV_ERROR+= "USE_KDELIBS_VER is unsupported"
DEV_ERROR+= "USE_QT_VER is unsupported"
.endif
+.if !empty(LIB_DEPENDS:M*/../*)
+DEV_ERROR+= "LIB_DEPENDS contains unsupported relative path to dependency"
+.endif
+
+.if !empty(RUN_DEPENDS:M*/../*)
+DEV_ERROR+= "RUN_DEPENDS contains unsupported relative path to dependency"
+.endif
+
.if defined(USE_DISPLAY)
DEV_WARNING+= "USE_DISPLAY is deprecated, please use USES=display"
.endif