pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/R-tcltk2 R-tcltk2: PR pkg/56696: conditionally s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/153db8251646
branches:  trunk
changeset: 380887:153db8251646
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Jun 18 09:07:37 2022 +0000

description:
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:

 devel/R-tcltk2/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 4c4260ac2df6 -r 153db8251646 devel/R-tcltk2/Makefile
--- a/devel/R-tcltk2/Makefile   Sat Jun 18 08:40:08 2022 +0000
+++ b/devel/R-tcltk2/Makefile   Sat Jun 18 09:07:37 2022 +0000
@@ -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 @@
 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
 



Home | Main Index | Thread Index | Old Index