summaryrefslogtreecommitdiffstats
path: root/make/include/contrib.defs
diff options
context:
space:
mode:
Diffstat (limited to 'make/include/contrib.defs')
-rw-r--r--make/include/contrib.defs2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/include/contrib.defs b/make/include/contrib.defs
index a3019ade7..72ecde68c 100644
--- a/make/include/contrib.defs
+++ b/make/include/contrib.defs
@@ -34,7 +34,7 @@ define import.CONTRIB.defs
##
## target: extract
##
- $(1).EXTRACT.tarbase = $$(patsubst %.tar.gz,%,$$(notdir $$($(1).FETCH.url)))
+ $(1).EXTRACT.tarbase = $$(foreach x,tar.bz2 tar.gz,$$(patsubst %.$$(x),%,$$(filter %.$$(x),$$(notdir $$($(1).FETCH.url)))))
$(1).EXTRACT.dir/ = $$($(1).build/)$$($(1).EXTRACT.tarbase)/
$(1).EXTRACT.target = $$($(1).build/).stamp.extract
define $(1).EXTRACT