summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2011-02-23 05:21:23 +0000
committerSébastien Fabbro <bicatali@gentoo.org>2011-02-23 05:21:23 +0000
commit4898e966794662908138191c437ffaaf33d60a98 (patch)
tree0a93e192757dcc4b4eb9cab20769bf98ea7190ab /eclass
parentadded alternatives-2 eclass (diff)
downloadbicatali-4898e966794662908138191c437ffaaf33d60a98.tar.gz
bicatali-4898e966794662908138191c437ffaaf33d60a98.tar.bz2
bicatali-4898e966794662908138191c437ffaaf33d60a98.zip
fixed intel eclass for newer package naming
Diffstat (limited to 'eclass')
-rw-r--r--eclass/intel-sdp.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/intel-sdp.eclass b/eclass/intel-sdp.eclass
index 79479a2..4d966e1 100644
--- a/eclass/intel-sdp.eclass
+++ b/eclass/intel-sdp.eclass
@@ -56,8 +56,8 @@ RESTRICT="mirror"
RDEPEND=""
DEPEND=">=app-arch/rpm2targz-9.0.0.3g"
-
-INTEL_SDP_DIR="opt/intel/${INTEL_SUBDIR}-${INTEL_DPV:-${INTEL_PV1}}.${INTEL_PV3}.${INTEL_PV4}"
+INTEL_SDP_YEAR=${INTEL_DPV%_update*}
+INTEL_SDP_DIR="opt/intel/${INTEL_SUBDIR}-${INTEL_SDP_YEAR:-${INTEL_PV1}}.${INTEL_PV3}.${INTEL_PV4}"
INTEL_SDP_EDIR="${EROOT#/}/${INTEL_SDP_DIR}"
S="${WORKDIR}"