diff options
author | Paul de Vrieze <pauldv@gentoo.org> | 2003-10-15 10:53:01 +0000 |
---|---|---|
committer | Paul de Vrieze <pauldv@gentoo.org> | 2003-10-15 10:53:01 +0000 |
commit | 98e78068bfc748128393fceb6fecaaf95a2dce96 (patch) | |
tree | e0430be83f436426c45101ceadb0bbe8c8c17d5c /eclass/db.eclass | |
parent | rev bump to fix version in pkgconfig file (diff) | |
download | historical-98e78068bfc748128393fceb6fecaaf95a2dce96.tar.gz historical-98e78068bfc748128393fceb6fecaaf95a2dce96.tar.bz2 historical-98e78068bfc748128393fceb6fecaaf95a2dce96.zip |
Fix stupid foulup with db.eclass
Diffstat (limited to 'eclass/db.eclass')
-rw-r--r-- | eclass/db.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/db.eclass b/eclass/db.eclass index 1f125a2841ae..7e5f518f0a41 100644 --- a/eclass/db.eclass +++ b/eclass/db.eclass @@ -1,5 +1,5 @@ # This is a common location for functions used in the sys-libs/db ebuilds -# $Header: /var/cvsroot/gentoo-x86/eclass/db.eclass,v 1.5 2003/10/15 09:03:13 pauldv Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/db.eclass,v 1.6 2003/10/15 10:53:01 pauldv Exp $ ECLASS=db INHERITED="$INHERITED $ECLASS" @@ -39,7 +39,7 @@ db_fix_so () { # but since there are only two of them, just overwrite them cd ${ROOT}/usr/include target=`find -type d -maxdepth 1 -name 'db[0-9]*' | sort -g |cut -d/ -f2- | tail -n1` - if [ -n "${target} ] && [ -e "${target}/db.h" ]; then + if [ -n "${target}" ] && [ -e "${target}/db.h" ]; then ln -sf ${target}/db.h . ln -sf ${target}/db_185.h . elif [ ! -e "${target}/db.h" ]; then |