summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiedi <wiedi@pkgsrc.org>2015-01-17 12:10:01 +0000
committerwiedi <wiedi@pkgsrc.org>2015-01-17 12:10:01 +0000
commit150ed909a09b83cb46a92cc434da0817f59da2e0 (patch)
treeadcf0920292b545d23229271fddc672ba8483f62
parenta6c2b6f2a1e71d8888c0239caf305649b3f948ac (diff)
downloadpkgsrc-150ed909a09b83cb46a92cc434da0817f59da2e0.tar.gz
SunOS needs __EXTENSIONS__
-rw-r--r--textproc/groff/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/textproc/groff/Makefile b/textproc/groff/Makefile
index a5f4d4f066e..3278b43b267 100644
--- a/textproc/groff/Makefile
+++ b/textproc/groff/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.76 2015/01/08 09:02:27 wiz Exp $
+# $NetBSD: Makefile,v 1.77 2015/01/17 12:10:01 wiedi Exp $
DISTNAME= groff-1.22.3
CATEGORIES= textproc
@@ -49,7 +49,7 @@ CONFIGURE_ENV+= PAGE=${PAPERSIZE:Q}
.include "../../mk/compiler.mk"
.if !empty(CC_VERSION:Mgcc-4.[6-9].*)
-CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600
+CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
.endif
post-extract: