summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@novell.com>2011-05-20 09:22:24 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-05-20 09:40:13 +0200
commita22d8e9fbecfe6f2febdf4f85892f00e48ad0b79 (patch)
tree4d4405ee3eeb22af55aee0b2b45ec386d0f6dd16
parent58219e347335be9ddcadda7941a857ca6e2b52df (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>
-rw-r--r--nlpsolver/makefile.mk2
1 files changed, 1 insertions, 1 deletions
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=