summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorsborrill <sborrill@pkgsrc.org>2015-07-03 15:08:24 +0000
committersborrill <sborrill@pkgsrc.org>2015-07-03 15:08:24 +0000
commit4a259dc705b4e182c42b55efdc1c9ae9269c420f (patch)
tree107f26fa85931a5ea7bdbfa0d591a1e3e589faf4 /misc
parent6b59e20848d725e896f18a5e63ad83e5c3be70a7 (diff)
downloadpkgsrc-4a259dc705b4e182c42b55efdc1c9ae9269c420f.tar.gz
curses from NetBSD 5 and earlier will coredump when displaying shadows
Diffstat (limited to 'misc')
-rw-r--r--misc/dialog/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/misc/dialog/Makefile b/misc/dialog/Makefile
index d4b22ee6f1c..96266e0a94d 100644
--- a/misc/dialog/Makefile
+++ b/misc/dialog/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.74 2015/05/31 13:06:24 wiz Exp $
+# $NetBSD: Makefile,v 1.75 2015/07/03 15:08:24 sborrill Exp $
DISTNAME= dialog-1.2-20150528
+PKGREVISION= 1
PKGNAME= ${DISTNAME:C/-2/.2/}
CATEGORIES= misc
MASTER_SITES= ftp://invisible-island.net/dialog/
@@ -26,5 +27,11 @@ SUBST_MESSAGE.rpath= Fixing rpath in dialog-config
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]*)
+CONFIGURE_ARGS+= --disable-widec
+.endif
+
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"