Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 538568 - dev-python/bsddb3 - double $EPREFIX
Summary: dev-python/bsddb3 - double $EPREFIX
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-02-02 18:12 UTC by Michael Schubert
Modified: 2015-02-02 20:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Schubert 2015-02-02 18:12:33 UTC
$EPREFIX is specified for $BERKELEYDB_INCDIR, but it is already provided by $(db_includedir).

Changes to make it build below:

--- bsddb3-6.1.0.ebuild.orig    2015-02-02 18:10:31.702012113 +0000
+++ bsddb3-6.1.0.ebuild 2015-02-02 16:12:46.290513132 +0000
@@ -48,7 +48,7 @@ src_prepare() {
 src_configure() {
        # These are needed for both build and install.
        export BERKELEYDB_DIR="${EPREFIX}/usr"
-       export BERKELEYDB_INCDIR="${EPREFIX}/$(db_includedir ${DB_VER})"
+       export BERKELEYDB_INCDIR="$(db_includedir ${DB_VER})"
        export BERKELEYDB_LIBDIR="${EPREFIX}/usr/$(get_libdir)"
        export YES_I_HAVE_THE_RIGHT_TO_USE_THIS_BERKELEY_DB_VERSION=1
 }
Comment 1 Mike Gilbert gentoo-dev 2015-02-02 20:16:56 UTC
+  02 Feb 2015; Mike Gilbert <floppym@gentoo.org> bsddb3-6.0.1.ebuild,
+  bsddb3-6.1.0.ebuild:
+  Fix double EPREFIX in BERKELEYDB_INCDIR, bug 538568 by Michael Schubert.