From 319a70b407ea93ae46c66c31ac68f04d5e15b9b9 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sun, 12 Nov 2006 08:27:08 +0000 Subject: [PATCH] Add mandatory eclass variables. Add missing export declaration for src_compile to fix #124342. Change download location to HTTP as the FTP server seems to have issues and upstream lists the HTTP server as the first choice. --- eclass/xemacs-packages.eclass | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/eclass/xemacs-packages.eclass b/eclass/xemacs-packages.eclass index 0082fa1b33b5..ba129105a5d3 100644 --- a/eclass/xemacs-packages.eclass +++ b/eclass/xemacs-packages.eclass @@ -1,11 +1,14 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/xemacs-packages.eclass,v 1.10 2005/07/06 20:23:20 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/xemacs-packages.eclass,v 1.11 2006/11/12 08:27:08 graaff Exp $ # # xemacs-packages eclass inherited by all xemacs packages # $PKG_CAT need's to be set before inheriting xemacs-packages -EXPORT_FUNCTIONS src_unpack src_install +ECLASS="xemacs-packages" +INHERITED="$INHERITED $ECLASS" + +EXPORT_FUNCTIONS src_unpack src_compile src_install DEPEND="virtual/xemacs" @@ -28,7 +31,7 @@ if [ -n "$EXPERIMENTAL" ] then [ -z "$SRC_URI" ] && SRC_URI="ftp://ftp.xemacs.org/beta/experimental/packages/${P}-pkg.tar.gz" else - [ -z "$SRC_URI" ] && SRC_URI="ftp://ftp.xemacs.org/packages/${P}-pkg.tar.gz" + [ -z "$SRC_URI" ] && SRC_URI="http://ftp.xemacs.org/pub/xemacs/packages/${P}-pkg.tar.gz" fi [ -n "$DEBUG" ] && einfo "SRC_URI is ${SRC_URI}" -- 2.26.2