pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk
Module Name: pkgsrc
Committed By: kamil
Date: Tue Jan 21 10:56:54 UTC 2020
Modified Files:
pkgsrc/mk: bsd.pkg.mk
Log Message:
Allow USE_X11=weak that allows X11 paths without having them reachable
Useful in certain packages (python) where X11 paths are needed in wrappers,
but optional in build and runtime.
To generate a diff of this commit:
cvs rdiff -u -r1.2033 -r1.2034 pkgsrc/mk/bsd.pkg.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mk/bsd.pkg.mk
diff -u pkgsrc/mk/bsd.pkg.mk:1.2033 pkgsrc/mk/bsd.pkg.mk:1.2034
--- pkgsrc/mk/bsd.pkg.mk:1.2033 Mon Nov 4 17:47:30 2019
+++ pkgsrc/mk/bsd.pkg.mk Tue Jan 21 10:56:54 2020
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.2033 2019/11/04 17:47:30 rillig Exp $
+# $NetBSD: bsd.pkg.mk,v 1.2034 2020/01/21 10:56:54 kamil Exp $
#
# This file is in the public domain.
#
@@ -477,7 +477,7 @@ PKG_SKIP_REASON+= "${PKGNAME} may not be
PKG_SKIP_REASON+= "${PKGNAME} is restricted:" \
" "${RESTRICTED:Q}
. endif
-. if defined(USE_X11) && (${X11_TYPE} == "native") && !exists(${X11BASE})
+. if defined(USE_X11) && (${USE_X11} != "weak") && (${X11_TYPE} == "native") && !exists(${X11BASE})
PKG_FAIL_REASON+= "${PKGNAME} uses X11, but ${X11BASE} not found"
. endif
. if ${BROKEN:U:M*}
Home |
Main Index |
Thread Index |
Old Index