pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/meta-pkgs/modular-xorg modular-xorg: Add avoid-duplica...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c02a33b355d8
branches:  trunk
changeset: 770499:c02a33b355d8
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Dec 01 12:48:17 2021 +0000

description:
modular-xorg: Add avoid-duplicate.mk to avoid uploading packages when
the entire package set is built against native X11

diffstat:

 meta-pkgs/modular-xorg/avoid-duplicate.mk |  11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diffs (15 lines):

diff -r e421a7c17873 -r c02a33b355d8 meta-pkgs/modular-xorg/avoid-duplicate.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/meta-pkgs/modular-xorg/avoid-duplicate.mk Wed Dec 01 12:48:17 2021 +0000
@@ -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



Home | Main Index | Thread Index | Old Index