pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/dialog dialog: Use OPSYS_VERSION



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7499a50025bd
branches:  trunk
changeset: 379878:7499a50025bd
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue May 24 13:01:51 2022 +0000

description:
dialog: Use OPSYS_VERSION

diffstat:

 misc/dialog/Makefile |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r aeaab3054045 -r 7499a50025bd misc/dialog/Makefile
--- a/misc/dialog/Makefile      Tue May 24 13:01:02 2022 +0000
+++ b/misc/dialog/Makefile      Tue May 24 13:01:51 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.90 2022/04/15 16:36:04 fcambus Exp $
+# $NetBSD: Makefile,v 1.91 2022/05/24 13:01:51 nia Exp $
 
 DISTNAME=      dialog-1.3-20220414
 PKGNAME=       ${DISTNAME:C/-2/.2/}
@@ -25,8 +25,7 @@
 SUBST_STAGE.rpath=     pre-configure
 
 .include "../../mk/bsd.prefs.mk"
-# curses from NetBSD 5 and earlier will coredump when displaying shadows
-.if !empty(MACHINE_PLATFORM:MNetBSD-[0-5].*)
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 060000
 CONFIGURE_ARGS+=       --disable-widec
 .endif
 



Home | Main Index | Thread Index | Old Index