view patches/openoffice-icc-cross.patch @ 6512:ccc20ae889ca default tip guix

mingw::guile-2.0.7 builds.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Thu, 24 Mar 2016 08:03:39 +0100
parents 0fcf64ee698f
children
line wrap: on
line source

--- icc/makefile.mk.orig	2008-10-27 20:25:57.000000000 +0100
+++ icc/makefile.mk	2008-10-27 20:34:33.000000000 +0100
@@ -55,7 +55,13 @@ CONVERTFILES= \
 	Contrib$/ICC_utils$/Vetters.cpp
 
 CONFIGURE_ACTION= $(GNUCOPY) -r $(BACK_PATH)..$/source$/create_sRGB_profile Contrib$/CmdLine && unzip $(BACK_PATH)..$/makefiles.zip && patch -p0 < $(BACK_PATH)..$/mdv-fmtargs-buildfix.patch
+
+.IF "$(CROSS_COMPILING)" == "no"
 BUILD_ACTION=dmake &&  cd Contrib$/CmdLine$/create_sRGB_profile && .$/create_sRGB_profile
+.ELSE
+# FIXME: should use CC_FOR_BUILD to build the thing here
+BUILD_ACTION=dmake && cd Contrib/CmdLine/create_sRGB_profile && create_sRGB_profile
+.ENDIF
 
 # --- Targets ------------------------------------------------------