changeset 6371:315690188490

Fix tools::ghostscript gconfig_.h
author Masamichi Hosoda <trueroad@users.noreply.github.com>
date Thu, 12 Mar 2015 21:33:02 +0900
parents ec570e0d4360
children e4d18fbabde2
files gub/specs/ghostscript.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gub/specs/ghostscript.py	Wed Mar 11 23:54:00 2015 +0900
+++ b/gub/specs/ghostscript.py	Thu Mar 12 21:33:02 2015 +0900
@@ -329,7 +329,7 @@
 cd %(builddir)s && make CC=cc CCAUX=cc C_INCLUDE_PATH= CFLAGS= CPPFLAGS= GCFLAGS= LIBRARY_PATH= obj/aux/genconf obj/aux/echogs obj/aux/genarch obj/arch.h
 cd %(builddir)s && make INCLUDE=/usr/include gconfig__h=gconfig_-native.h gconfig_-native.h
 cd %(builddir)s && make INCLUDE=%(system_prefix)s/include gconfig__h=gconfig_-tools.h gconfig_-tools.h
-cd %(builddir)s && sort -u gconfig_-native.h gconfig_-tools.h > obj/gconfig_.h
+cd %(builddir)s && sort -u gconfig_-native.h gconfig_-tools.h | grep "^#define" | grep -v "HAVE_SYS_TIME_H" > obj/gconfig_.h
 ''')
 #        self.fixup_arch ()
         tools.AutoBuild.compile (self)