diff options
author | nia <nia@pkgsrc.org> | 2022-05-24 13:01:51 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2022-05-24 13:01:51 +0000 |
commit | a9e6baa4c7774d03840f1bc10e0eb279c70d4d17 (patch) | |
tree | d4463ff2a5b3df5715ee562a4d3f43e26342cb3b /misc | |
parent | c2d8d8746985e46e381759d690fa7d6dced4faa3 (diff) | |
download | pkgsrc-a9e6baa4c7774d03840f1bc10e0eb279c70d4d17.tar.gz |
dialog: Use OPSYS_VERSION
Diffstat (limited to 'misc')
-rw-r--r-- | misc/dialog/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/misc/dialog/Makefile b/misc/dialog/Makefile index aead70902af..7b09738394a 100644 --- a/misc/dialog/Makefile +++ b/misc/dialog/Makefile @@ -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_SED.rpath= -e 's;-L\(.\);${_COMPILER_RPATH_FLAG}\1\{exec_prefix\}/lib -L\1 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 |