[Libreoffice-commits] core.git: external/libfreehand

Fridrich Å trba fridrich.strba at bluewin.ch
Thu Oct 31 13:51:51 CET 2013


 external/libfreehand/ExternalProject_libfreehand.mk |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

New commits:
commit 8215dcfe7d59f151d30612542c8a1fb4a5f40b95
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Thu Oct 31 13:44:37 2013 +0100

    Build only what is needed: less probability to mess up
    
    Change-Id: I1855e3c23380883df74f29aa8282f1c57e2e45bd
    Reviewed-on: https://gerrit.libreoffice.org/6512
    Reviewed-by: Fridrich Strba <fridrich at documentfoundation.org>
    Tested-by: Fridrich Strba <fridrich at documentfoundation.org>

diff --git a/external/libfreehand/ExternalProject_libfreehand.mk b/external/libfreehand/ExternalProject_libfreehand.mk
index 24bda09..ac03a40 100644
--- a/external/libfreehand/ExternalProject_libfreehand.mk
+++ b/external/libfreehand/ExternalProject_libfreehand.mk
@@ -16,9 +16,8 @@ $(eval $(call gb_ExternalProject_register_targets,libfreehand,\
 ))
 
 $(eval $(call gb_ExternalProject_use_externals,libfreehand,\
-	boost_headers \
-	libxml2 \
 	wpd \
+	wpg \
 	zlib \
 ))
 
@@ -33,12 +32,10 @@ $(call gb_ExternalProject_get_state_target,libfreehand,build) :
 			--disable-debug \
 			--disable-werror \
 			--disable-weffc \
-			--without-tools \
-			BOOST_CFLAGS="$(if $(filter NO,$(SYSTEM_BOOST)),-I$(call gb_UnpackedTarball_get_dir,boost),$(BOOST_CPPFLAGS))" \
-			XML_CFLAGS="$(if $(filter NO,$(SYSTEM_LIBXML)),-I$(call gb_UnpackedTarball_get_dir,xml2)/include,$(LIBXML_CFLAGS))" \
-			XML_LIBS="$(LIBXML_LIBS)" \
 			$(if $(filter YES,$(CROSS_COMPILING)),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
-		&& $(MAKE) $(if $(VERBOSE)$(verbose),V=1) \
+		&& (cd $(EXTERNAL_WORKDIR)/src/lib && \
+		    $(if $(VERBOSE)$(verbose),V=1) \
+		    $(MAKE)) \
 	)
 
 # vim: set noet sw=4 ts=4:


More information about the Libreoffice-commits mailing list