From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.192]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j3PG5vBs026603 for ; Mon, 25 Apr 2005 16:05:58 GMT Received: by wproxy.gmail.com with SMTP id 68so1807246wra for ; Mon, 25 Apr 2005 09:06:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IzQUI/zJnI2V5Pnyu7JQaaX93qzu/Vz05po1CciJMFWTlCj6UZKsLPXzarsFUipmK3pOctsUC4F8SvmRiir0hBaDqWsHEI1X9J3bxDtm+72KIwkoHCszFQLW+lNRSTYqmEhvFcRZAQ+RnT0ZiRujEK5OoTYrSXBFmzrL2ok1mfs= Received: by 10.54.27.4 with SMTP id a4mr1944706wra; Mon, 25 Apr 2005 09:06:04 -0700 (PDT) Received: by 10.54.89.17 with HTTP; Mon, 25 Apr 2005 09:06:04 -0700 (PDT) Message-ID: Date: Mon, 25 Apr 2005 18:06:04 +0200 From: Stefan Schweizer To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] kernel-mod.eclass deprecation and effected ebuilds In-Reply-To: <200504251150.18698.vapier@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <1114440683.10658.46.camel@localhost> <200504251150.18698.vapier@gentoo.org> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j3PG5vBs026603 X-Archives-Salt: 364855e6-aa98-4d0e-8d76-d4c0babd2510 X-Archives-Hash: aebab10cfe636438cbcdb83e6c847b4f Most of the current linux-mod-ebuilds do not build with portage-cvs because KV_DIR is not available in global scope any more. portage-cvs does not repeatedly source the ebuild after every stage and is more sane in this case. What is needed to fix the problems: BUILD_PARAMS="--with-kernel=${KV_DIR} ... should be changed to: pkg_setup() { linux-mod_pkg_setup BUILD_PARAMS="--with-kernel=${KV_DIR} } Now it works with every portage-version and only requires a variable to be set when it is actually set. Regards, Stefan -- gentoo-dev@gentoo.org mailing list