Mercurial > gub
changeset 6177:8fa8a7e6bc23
Work around ghostscript's broken sys/types check.
author | Joe Neeman <joeneeman@gmail.com> |
---|---|
date | Sun, 26 Feb 2012 18:45:55 +1100 |
parents | d48b872a12c9 |
children | 1a10272bdf6e |
files | gub/specs/ghostscript.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 ():