summaryrefslogtreecommitdiff
path: root/misc
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
commit7681fa526b8e22a97f2ff94f6908181e7ff9156f (patch)
tree1e8300671254d610f1e3908f3fd83bd7e827ce06 /misc
parent3e16e3481daf29b37dfecce8068faf8a3f06ef9f (diff)
downloadpkgsrc-7681fa526b8e22a97f2ff94f6908181e7ff9156f.tar.gz
Add -D__EXTENSIONS__ to CPPFLAGS on SunOS.
Diffstat (limited to 'misc')
-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