pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/luatex luatex: Handle C99 correctly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bae24c001a20
branches:  trunk
changeset: 374558:bae24c001a20
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Jan 25 11:15:20 2018 +0000

description:
luatex: Handle C99 correctly.

diffstat:

 print/luatex/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 8e6a164b5855 -r bae24c001a20 print/luatex/Makefile
--- a/print/luatex/Makefile     Thu Jan 25 10:44:51 2018 +0000
+++ b/print/luatex/Makefile     Thu Jan 25 11:15:20 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.65 2018/01/10 22:16:26 wiz Exp $
+# $NetBSD: Makefile,v 1.66 2018/01/25 11:15:20 jperkin Exp $
 
 DISTNAME=      texlive-20170524-source
 PKGNAME=       luatex-1.0.4
@@ -18,7 +18,7 @@
                        ${DISTNAME}/texk/web2c
 
 GNU_CONFIGURE= yes
-USE_LANGUAGES= c c++11
+USE_LANGUAGES= c99 c++11
 USE_LIBTOOL=   yes
 USE_TOOLS+=    gmake gsed lex perl pkg-config yacc
 CONFIGURE_ARGS+=       --disable-aleph --disable-etex --disable-pdftex \
@@ -59,7 +59,7 @@
 SUBST_FILES.prefix=    libs/lua52/lua52-src/src/luaconf.h
 SUBST_VARS.prefix=     PREFIX
 
-CFLAGS.SunOS+= -std=gnu99 -D_XOPEN_SOURCE_EXTENDED=0
+CPPFLAGS.SunOS+=       -D_XOPEN_SOURCE_EXTENDED=0
 
 .include "../../archivers/zziplib/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"



Home | Main Index | Thread Index | Old Index