summaryrefslogtreecommitdiff
path: root/meta-pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'meta-pkgs')
-rw-r--r--meta-pkgs/modular-xorg/avoid-duplicate.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-pkgs/modular-xorg/avoid-duplicate.mk b/meta-pkgs/modular-xorg/avoid-duplicate.mk
new file mode 100644
index 00000000000..36ea9e07967
--- /dev/null
+++ b/meta-pkgs/modular-xorg/avoid-duplicate.mk
@@ -0,0 +1,11 @@
+# $NetBSD: avoid-duplicate.mk,v 1.1 2021/12/01 12:48:17 nia Exp $
+
+BUILTIN_PKG= ${X11_BUILTIN_NAME}
+
+.include "${.INCLUDEDFROMDIR}/builtin.mk"
+
+.if ${X11_TYPE} == "native" && ${USE_BUILTIN.${X11_BUILTIN_NAME}} == "yes"
+RESTRICTED= "Package set is using native X11 component"
+NO_BIN_ON_FTP= ${RESTRICTED}
+NO_BIN_ON_CDROM= ${RESTRICTED}
+.endif