summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2022-06-18 09:07:37 +0000
committertnn <tnn@pkgsrc.org>2022-06-18 09:07:37 +0000
commit55f74c2e9f87a9458218ffe8532042f23ecff96b (patch)
tree8cd66806ad526687dbf16a397655a2d3093fffa8 /devel
parentb938520765f7b766a9e34d55488293c2c6b4205c (diff)
downloadpkgsrc-55f74c2e9f87a9458218ffe8532042f23ecff96b.tar.gz
R-tcltk2: PR pkg/56696: conditionally set PKG_FAIL_REASON instead of BROKEN
Reports on IRC that the package does not infinite loop if $DISPLAY is set.
Diffstat (limited to 'devel')
-rw-r--r--devel/R-tcltk2/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/R-tcltk2/Makefile b/devel/R-tcltk2/Makefile
index bfa817cf502..1afe0f3af2c 100644
--- a/devel/R-tcltk2/Makefile
+++ b/devel/R-tcltk2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2022/03/28 15:51:46 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2022/06/18 09:07:37 tnn Exp $
R_PKGNAME= tcltk2
R_PKGVER= 1.2-11
@@ -9,7 +9,9 @@ MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Tcl/Tk additions
LICENSE= gnu-lgpl-v3 # + file LICENSE
-BROKEN= "Infinite loop during build, see pkg/56696"
+.if empty(DISPLAY)
+PKG_FAIL_REASON= "PR pkg/56696: DISPLAY must be set to a working X11 display."
+.endif
USE_LANGUAGES= # none