[Libreoffice-commits] .: nlpsolver/makefile.mk

Thorsten Behrens thorsten at kemper.freedesktop.org
Fri May 20 00:23:04 PDT 2011


 nlpsolver/makefile.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6619c124d21bfab4cca0c058581fa03af8f67f3b
Author: Thorsten Behrens <tbehrens at novell.com>
Date:   Fri May 20 09:22:24 2011 +0200

    Removed GNUism in makefile
    
    The --preserve=timestamps is a gnu cp extension, and thus not
    available on all our platforms. Replaced by equivalent tar hack.

diff --git a/nlpsolver/makefile.mk b/nlpsolver/makefile.mk
index ec7a063..a7d0996 100644
--- a/nlpsolver/makefile.mk
+++ b/nlpsolver/makefile.mk
@@ -46,7 +46,7 @@ PATCH_FILES=nlpsolver-0.9.patch
 
 ANT_FLAGS+=-Dplatforms.JDK_1.5.home=$(JAVA_HOME) -Doffice.program.dir=$(SOLARBINDIR)
 
-CONFIGURE_ACTION=cp -rv --preserve=timestamps ../../../../locale src/
+CONFIGURE_ACTION=(cd ../../../../locale && $(GNUTAR) -cf - .) | (cd src/ && $(GNUTAR) xf -)
 
 .IF "$(JAVACISGCJ)"=="yes"
 JAVA_HOME=


More information about the Libreoffice-commits mailing list