summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2009-05-07 13:26:39 +0000
committerTorsten Veller <tove@gentoo.org>2009-05-07 13:26:39 +0000
commite6ed56129cadaa69b7b8b5d901dd269648d0a941 (patch)
treea72243d89161f47e8308c665b3de1ac0ee277e03 /app-shells/zsh/zsh-4.3.9.ebuild
parentversion bump of 2.x series, fixed 1.x series SRC_URI, added upstream readme (diff)
downloadhistorical-e6ed56129cadaa69b7b8b5d901dd269648d0a941.tar.gz
historical-e6ed56129cadaa69b7b8b5d901dd269648d0a941.tar.bz2
historical-e6ed56129cadaa69b7b8b5d901dd269648d0a941.zip
Don't build gdbm module if USE=-gdbm for a non-dynamic zsh (#268926)
Package-Manager: portage-2.2_rc33/cvs/Linux i686
Diffstat (limited to 'app-shells/zsh/zsh-4.3.9.ebuild')
-rw-r--r--app-shells/zsh/zsh-4.3.9.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/app-shells/zsh/zsh-4.3.9.ebuild b/app-shells/zsh/zsh-4.3.9.ebuild
index 460fe4c3f655..b03893ea2d05 100644
--- a/app-shells/zsh/zsh-4.3.9.ebuild
+++ b/app-shells/zsh/zsh-4.3.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh/zsh-4.3.9.ebuild,v 1.8 2009/03/22 19:37:28 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh/zsh-4.3.9.ebuild,v 1.9 2009/05/07 13:26:39 tove Exp $
# doc package for -dev version exists?
doc_available=true
@@ -100,6 +100,10 @@ src_compile() {
-e 's/cap.mdd link=static/cap.mdd link=no/' \
-e 's/curses.mdd link=static/curses.mdd link=no/' \
config.modules || die
+ if ! use gdbm ; then
+ sed -i 's/gdbm.mdd link=static/gdbm.mdd link=no/' \
+ config.modules || die
+ fi
# else
# sed -i -e "/LIBS/s%-lpcre%/usr/$(get_libdir)/libpcre.a%" Makefile
fi