summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <jcallen@gentoo.org>2009-11-30 04:19:36 +0000
committerJonathan Callen <jcallen@gentoo.org>2009-11-30 04:19:36 +0000
commit25e23d78c44428acf7b0fa4e3d78c2ad0841ad9d (patch)
tree472c481305df0e16f21798cf35d39108c7798b13 /eclass/db4-fix.eclass
parentDrop usage of xfce44.eclass (deprecated) (diff)
downloadhistorical-25e23d78c44428acf7b0fa4e3d78c2ad0841ad9d.tar.gz
historical-25e23d78c44428acf7b0fa4e3d78c2ad0841ad9d.tar.bz2
historical-25e23d78c44428acf7b0fa4e3d78c2ad0841ad9d.zip
Remove eclasses that have been marked as deprecated for >=2 years; schedule other deprecated eclasses for removal
Diffstat (limited to 'eclass/db4-fix.eclass')
-rw-r--r--eclass/db4-fix.eclass47
1 files changed, 5 insertions, 42 deletions
diff --git a/eclass/db4-fix.eclass b/eclass/db4-fix.eclass
index 4f4e84355f98..0a0b2ed97d9a 100644
--- a/eclass/db4-fix.eclass
+++ b/eclass/db4-fix.eclass
@@ -1,44 +1,7 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/db4-fix.eclass,v 1.6 2005/07/06 20:23:20 agriffis Exp $
-#
-# Author: Paul de Vrieze <pauldv@gentoo.org>
-#
-# This eclass is meant to fix configure scripts to work with our versioned db4
-#
-# the dodb4-fix script should be run from the directory where autoconf needs to
-# be run from
+# $Header: /var/cvsroot/gentoo-x86/eclass/db4-fix.eclass,v 1.7 2009/11/30 04:19:36 abcd Exp $
-
-DEPEND="sys-apps/sed"
-
-DESCRIPTION="Based on the ${ECLASS} eclass"
-
-EDB4_FIX_VERSION=0.1
-
-dodb4-fix () {
- postfix=`grep "#define.db_create" /usr/include/db4/db.h \
- |cut -d " " -f 2|sed -e "s,db_create,,"`
-
- if [ $# -ne 1 ];then
- die "This function needs as argument the name of the file to fix"
- fi
- if has_version =sys-libs/db-4*; then
- if [ "`basename $1`" == "configure" ]; then
- die "sorry configure fixing is not supported yet"
- else
- einfo "fixing $1 to work with db-4 by appending ${postfix}"
- cp $1 ${1}.cpy
- cat ${1}.cpy \
- |sed -e "s;\( *AC_CHECK_LIB( *db-?4? *, db_[^ ,]*\);\1${postfix};" \
- -e "s/\(-l\|[ \t]\)\(db3\)\([ \t]\)/\1db-3\3/g" \
- >${1} || die "sed failed"
-# -e "s/\( *AC_CHECK_LIB([^,]*, db_create\)\( *,\)/\1${postfix}\2/" \
-
- autoconf
- fi
- else
- einfo "db4 not found, so not applying db4 fixes"
- fi
-
-}
+# @DEAD
+# To be removed on 2011/11/30.
+ewarn "Please fix your package (${CATEGORY}/${PF}) to not use ${ECLASS}.eclass"