summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin>2012-09-27 12:01:57 +0000
committerjperkin <jperkin>2012-09-27 12:01:57 +0000
commit923d10ae74b4f3b29a39ad5feebac9af88f4ee23 (patch)
tree4e05e3538b27ef0cde647d9b6d54896cead11100
parent0a1311e95d6e36df19beaf241f2538e5ed8681c9 (diff)
downloadpkgsrc-923d10ae74b4f3b29a39ad5feebac9af88f4ee23.tar.gz
Fix up compiler flags on Solaris, you cannot have both _XOPEN_SOURCE=600 and
_XOPEN_SOURCE_EXTENDED=1 in C99 code. Fixes package on Solaris.
-rw-r--r--print/xetex/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/print/xetex/Makefile b/print/xetex/Makefile
index 1e0fe76359c..8b8ab3d87fa 100644
--- a/print/xetex/Makefile
+++ b/print/xetex/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2012/09/14 12:19:32 drochner Exp $
+# $NetBSD: Makefile,v 1.16 2012/09/27 12:01:57 jperkin Exp $
DISTNAME= texlive-20120701-source
PKGNAME= xetex-0.9998
@@ -72,6 +72,8 @@ INSTALLATION_DIRS+= bin
CONFIGURE_ENV+= kpse_cv_have_Carbon=no
.endif
+CFLAGS.SunOS+= -std=gnu99 -D_XOPEN_SOURCE_EXTENDED=0
+
.include "../../converters/TECkit/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"