summaryrefslogtreecommitdiff
path: root/clucene
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2012-03-23 13:16:00 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2012-03-23 13:16:20 +0100
commita565276f66c916198dbcc70950330db292177dfc (patch)
tree6efede4f841ce63b43ea4a19136da9befc7d5450 /clucene
parentc9550dc7f318d05769a6e6a25a5138799e76b1e6 (diff)
Enable use of older tars that uses --strip-path to strip components
Diffstat (limited to 'clucene')
-rw-r--r--clucene/source/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/clucene/source/Makefile b/clucene/source/Makefile
index 74350ea13c69..1db25cf9f0a0 100644
--- a/clucene/source/Makefile
+++ b/clucene/source/Makefile
@@ -38,7 +38,7 @@ endif
done :
mkdir -p $(dir $@)
# FIXME: do not hardcode the path here
- $(GNUTAR) -x --strip-components=1 -f $(FIXED_TARFILE_LOCATION)/48d647fbd8ef8889e5a7f422c1bfda94-clucene-core-2.3.3.4.tar.gz
+ $(GNUTAR) -x $(STRIP_COMPONENTS)=1 -f $(FIXED_TARFILE_LOCATION)/48d647fbd8ef8889e5a7f422c1bfda94-clucene-core-2.3.3.4.tar.gz
$(GNUPATCH) -p0 < $(SRCDIR)/clucene/patches/clucene-internal-zlib.patch
$(GNUPATCH) -p0 < $(SRCDIR)/clucene/patches/clucene-warnings.patch
$(GNUPATCH) -p0 < $(SRCDIR)/clucene/patches/clucene-gcc-atomics.patch