pkgsrc/meta-pkgs/modular-xorg/avoid-duplicate.mk
nia 1862de250f modular-xorg: Add avoid-duplicate.mk to avoid uploading packages when
the entire package set is built against native X11
2021-12-01 12:48:17 +00:00

11 lines
345 B
Makefile

# $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