pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/print/ghostscript-agpl
Module Name: pkgsrc
Committed By: jperkin
Date: Wed Apr 4 13:04:18 UTC 2018
Modified Files:
pkgsrc/print/ghostscript-agpl: Makefile
Log Message:
ghostscript-agpl: Fix SunOS build with older compilers.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/print/ghostscript-agpl/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/print/ghostscript-agpl/Makefile
diff -u pkgsrc/print/ghostscript-agpl/Makefile:1.31 pkgsrc/print/ghostscript-agpl/Makefile:1.32
--- pkgsrc/print/ghostscript-agpl/Makefile:1.31 Wed Mar 21 17:41:01 2018
+++ pkgsrc/print/ghostscript-agpl/Makefile Wed Apr 4 13:04:18 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2018/03/21 17:41:01 adam Exp $
+# $NetBSD: Makefile,v 1.32 2018/04/04 13:04:18 jperkin Exp $
DISTNAME= ghostscript-${GS_VERSION}
PKGNAME= ${DISTNAME:S/ghostscript/ghostscript-agpl/}
@@ -67,6 +67,8 @@ CFLAGS+= -fPIC
# Not ideal but too many files hardcode _XOPEN_SOURCE=500.
.if !empty(CC_VERSION:Mgcc-[6-9]*) || !empty(PKGSRC_COMPILER:Mclang)
CPPFLAGS.SunOS+= -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
+.else
+CPPFLAGS.SunOS+= -D__C99FEATURES__
.endif
# Interim IRIX build fix, the real problem is that fontconfig.pc doesn't
Home |
Main Index |
Thread Index |
Old Index