diff options
author | Paul de Vrieze <pauldv@gentoo.org> | 2003-05-25 21:06:23 +0000 |
---|---|---|
committer | Paul de Vrieze <pauldv@gentoo.org> | 2003-05-25 21:06:23 +0000 |
commit | 468fd82d5227d7e3f8ace14f45b1c2afd1edbfd3 (patch) | |
tree | bdce5cbb9661b12e0ebf7d702d268479505e0cd8 /eclass | |
parent | Version Bump (diff) | |
download | historical-468fd82d5227d7e3f8ace14f45b1c2afd1edbfd3.tar.gz historical-468fd82d5227d7e3f8ace14f45b1c2afd1edbfd3.tar.bz2 historical-468fd82d5227d7e3f8ace14f45b1c2afd1edbfd3.zip |
Make the fixing a bit more tollerant, should allow cyrus-sasl to build
with db4
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/db4-fix.eclass | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/eclass/db4-fix.eclass b/eclass/db4-fix.eclass index 948541c2fd44..352e356b52dd 100644 --- a/eclass/db4-fix.eclass +++ b/eclass/db4-fix.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/db4-fix.eclass,v 1.1 2003/05/24 14:38:06 pauldv Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/db4-fix.eclass,v 1.2 2003/05/25 21:06:23 pauldv Exp $ # # Author: Paul de Vrieze <pauldv@gentoo.org> # @@ -32,13 +32,15 @@ dodb4-fix () { einfo "fixing $1 to work with db-4 by appending ${postfix}" cp $1 ${1}.cpy cat ${1}.cpy \ - |sed -e "s;\( *AC_CHECK_LIB( *db4? *, db_[^ ,]*\);\1${postfix};" \ - -e "s/\( *AC_CHECK_LIB([^,]*, db_create\)\( *,\)/\1${postfix}\2/" \ + |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 -}
\ No newline at end of file +} |