From 5d566f6786666eb19b35e1db1b332fbef4ed74cd Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Fri, 20 May 2011 09:22:24 +0200 Subject: Removed GNUism in makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The --preserve=timestamps is a gnu cp extension, and thus not available on all our platforms. Replaced by equivalent tar hack. Signed-off-by: Fridrich Štrba (cherry picked from commit a22d8e9fbecfe6f2febdf4f85892f00e48ad0b79) Signed-off-by: Andras Timar Signed-off-by: Bjoern Michaelsen --- nlpsolver/makefile.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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= -- cgit v1.2.3