follow up: have base.eclass leverage unpacker.eclass when it's available
-mike

--- base.eclass 14 Dec 2011 23:38:09 -0000      1.55
+++ base.eclass 5 Feb 2012 05:19:28 -0000
@@ -59,7 +59,11 @@ base_src_unpack() {
 
        pushd "${WORKDIR}" > /dev/null
 
-       [[ -n "${A}" ]] && unpack ${A}
+       if [[ $(type -t unpacker_src_unpack) == "function" ]] ; then
+               unpacker_src_unpack
+       elif [[ -n ${A} ]] ; then
+               unpack ${A}
+       fi
        has src_prepare ${BASE_EXPF} || base_src_prepare
 
        popd > /dev/null

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to