summaryrefslogtreecommitdiff
path: root/misc/screen
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>2015-09-11 01:24:06 +0000
committerkim <kim@pkgsrc.org>2015-09-11 01:24:06 +0000
commit25232f7d2b10a0e39bbc67bb5deb5a9beb6cb13b (patch)
tree1e8300671254d610f1e3908f3fd83bd7e827ce06 /misc/screen
parent5b059b0ac26fecd165ca05a14dfe32aa1de4e932 (diff)
downloadpkgsrc-25232f7d2b10a0e39bbc67bb5deb5a9beb6cb13b.tar.gz
Add -D__EXTENSIONS__ to CPPFLAGS on SunOS.
Diffstat (limited to 'misc/screen')
-rw-r--r--misc/screen/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/screen/Makefile b/misc/screen/Makefile
index fb5dbade83f..565098ef0bb 100644
--- a/misc/screen/Makefile
+++ b/misc/screen/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.95 2015/09/01 13:34:47 kim Exp $
+# $NetBSD: Makefile,v 1.96 2015/09/11 01:24:06 kim Exp $
DISTNAME= screen-4.3.1
#PKGREVISION= 0
@@ -41,7 +41,7 @@ SUBST_STAGE.paths= post-patch
PLIST_VARS+= terminfo
.if ${OPSYS} == "SunOS"
-CPPFLAGS+= -D_XOPEN_SOURCE=500
+CPPFLAGS+= -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
. if ${CURSES_DEFAULT} == "curses"
INSTALLATION_DIRS+= share/lib/terminfo
PLIST.terminfo= yes