summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-01-23 09:44:24 +0000
committerJustin Lecher <jlec@gentoo.org>2013-01-23 09:44:24 +0000
commit031b9c99931818c3d78a924b12523544c6c80daf (patch)
tree37b1e176af36afa6c3bd35410e7d9be64ac980d6 /eclass/intel-sdp.eclass
parentRemove unused version. (diff)
downloadgentoo-2-031b9c99931818c3d78a924b12523544c6c80daf.tar.gz
gentoo-2-031b9c99931818c3d78a924b12523544c6c80daf.tar.bz2
gentoo-2-031b9c99931818c3d78a924b12523544c6c80daf.zip
Add support for license server, #447262
Diffstat (limited to 'eclass/intel-sdp.eclass')
-rw-r--r--eclass/intel-sdp.eclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/intel-sdp.eclass b/eclass/intel-sdp.eclass
index 2ae38d1c8d24..f39d6d09fdbf 100644
--- a/eclass/intel-sdp.eclass
+++ b/eclass/intel-sdp.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/intel-sdp.eclass,v 1.6 2013/01/18 15:00:31 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/intel-sdp.eclass,v 1.7 2013/01/23 09:44:24 jlec Exp $
# @ECLASS: intel-sdp.eclass
# @MAINTAINER:
@@ -260,6 +260,12 @@ intel-sdp_pkg_pretend() {
: ${CHECKREQS_DISK_BUILD:=256M}
check-reqs_pkg_pretend
+ if [[ $(echo ${INTEL_LICENSE_FILE} | grep -q @) ]]; then
+ einfo "Looks like you are using following license server:"
+ einfo " ${INTEL_LICENSE_FILE}"
+ return 0
+ fi
+
dirs=(
"${INTEL_SDP_EDIR}/licenses"
"${INTEL_SDP_EDIR}/Licenses"