summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/db/db-4.3.29.ebuild')
-rw-r--r--sys-libs/db/db-4.3.29.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys-libs/db/db-4.3.29.ebuild b/sys-libs/db/db-4.3.29.ebuild
index 939583a761d0..83aeb696e1d0 100644
--- a/sys-libs/db/db-4.3.29.ebuild
+++ b/sys-libs/db/db-4.3.29.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/db-4.3.29.ebuild,v 1.2 2006/01/20 13:19:04 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/db-4.3.29.ebuild,v 1.3 2006/02/22 20:51:59 pauldv Exp $
-inherit eutils gnuconfig db
+inherit eutils gnuconfig db flag-o-matic
#Number of official patches
#PATCHNO=`echo ${PV}|sed -e "s,\(.*_p\)\([0-9]*\),\2,"`
@@ -81,6 +81,12 @@ src_compile() {
myconf="${myconf} --disable-test"
fi
+ # Add linker versions to the symbols. Easier to do, and safer than header file
+ # mumbo jumbo.
+ if use userland_GNU; then
+ append-ldflags -Wl,--default-symver
+ fi
+
../dist/configure \
--prefix=/usr \
--mandir=/usr/share/man \