# HG changeset patch # User Joe Neeman # Date 1330242355 -39600 # Node ID 8fa8a7e6bc23ed5501883f7bf7bed103e9d3c1e7 # Parent d48b872a12c924ba74f0ecc2874bb6f5fccd23ae Work around ghostscript's broken sys/types check. diff -r d48b872a12c9 -r 8fa8a7e6bc23 gub/specs/ghostscript.py --- a/gub/specs/ghostscript.py Fri Feb 17 12:28:57 2012 +0000 +++ b/gub/specs/ghostscript.py Sun Feb 26 18:45:55 2012 +1100 @@ -52,7 +52,8 @@ + ' mandir=%(prefix_dir)s/share/man/ ' + ' docdir=%(prefix_dir)s/share/doc/ghostscript/doc ' + ' exdir=%(prefix_dir)s/share/doc/ghostscript/examples ') - make_flags = target.AutoBuild.make_flags + ' TARGET=%(target_os)s' + # Ghostscript's check for sys/time.h is buggy: it only looks in /usr/include. + make_flags = target.AutoBuild.make_flags + ' TARGET=%(target_os)s CFLAGS+="-DHAVE_SYS_TIME_H=1"' obj = 'obj' @staticmethod def static_version ():