summaryrefslogtreecommitdiff
path: root/nlpsolver
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@novell.com>2011-05-20 09:22:24 +0200
committerThorsten Behrens <tbehrens@novell.com>2011-05-24 11:27:03 +0200
commit54f4dd01524fdaf8fd31534465ba407263bb9c17 (patch)
treea91fc307676f907255fc6b89a2420a6475432c00 /nlpsolver
parent1ea93d6dcd2ab0f8952f6683c82d278a41c6ea08 (diff)
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. Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch> (cherry picked from commit a22d8e9fbecfe6f2febdf4f85892f00e48ad0b79) Signed-off-by: Andras Timar <timar74@gmail.com> Signed-off-by: Bjoern Michaelsen <bjoern.michaelsen@gmail.com>
Diffstat (limited to 'nlpsolver')
-rw-r--r--nlpsolver/makefile.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/nlpsolver/makefile.mk b/nlpsolver/makefile.mk
index ec7a06388fae..a7d099662691 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=