pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ncursesw Don't set _XOPEN_SOURCE_EXTENDED uncond...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9e7269ec8d7a
branches: trunk
changeset: 367167:9e7269ec8d7a
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Fri Aug 25 11:41:43 2017 +0000
description:
Don't set _XOPEN_SOURCE_EXTENDED unconditionally on SunOS as it breaks
packages that require C99 which it conflicts with.
diffstat:
devel/ncursesw/builtin.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 9809bdc1a573 -r 9e7269ec8d7a devel/ncursesw/builtin.mk
--- a/devel/ncursesw/builtin.mk Fri Aug 25 11:06:08 2017 +0000
+++ b/devel/ncursesw/builtin.mk Fri Aug 25 11:41:43 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.13 2016/12/20 15:06:52 joerg Exp $
+# $NetBSD: builtin.mk,v 1.14 2017/08/25 11:41:43 jperkin Exp $
BUILTIN_PKG:= ncursesw
@@ -139,7 +139,9 @@
(!empty(USE_BUILTIN.ncursesw:M[yY][eE][sS]) && \
!empty(IS_BUILTIN.ncursesw:M[yY][eE][sS]))
USE_NCURSES= yes
+. if ${OPSYS} != "SunOS"
BUILDLINK_CPPFLAGS.ncursesw+= -D_XOPEN_SOURCE_EXTENDED=1
+. endif
. endif
BUILDLINK_TARGETS+= buildlink-ncursesw-curses-h
Home |
Main Index |
Thread Index |
Old Index