summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haubenwallner <haubi@gentoo.org>2017-09-25 15:58:54 +0200
committerMichael Haubenwallner <haubi@gentoo.org>2017-09-25 15:58:54 +0200
commitc6410bbd72268c09e5dba50f4bdd5eadba1c1419 (patch)
tree74711a808333bda96ac8bcd250842a678a5ca491 /sys-libs/db/db-6.0.35-r1.ebuild
parentsys-libs/db-5.3.28-r3: apply prefix diffs (diff)
downloadprefix-c6410bbd72268c09e5dba50f4bdd5eadba1c1419.tar.gz
prefix-c6410bbd72268c09e5dba50f4bdd5eadba1c1419.tar.bz2
prefix-c6410bbd72268c09e5dba50f4bdd5eadba1c1419.zip
sys-libs/db-6.0.35-r1: fix for x86-winnt
Package-Manager: Portage-2.3.8-prefix, Repoman-2.3.3
Diffstat (limited to 'sys-libs/db/db-6.0.35-r1.ebuild')
-rw-r--r--sys-libs/db/db-6.0.35-r1.ebuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/sys-libs/db/db-6.0.35-r1.ebuild b/sys-libs/db/db-6.0.35-r1.ebuild
index a9aafa91ce..7f2530ae61 100644
--- a/sys-libs/db/db-6.0.35-r1.ebuild
+++ b/sys-libs/db/db-6.0.35-r1.ebuild
@@ -27,7 +27,7 @@ done
LICENSE="AGPL-3"
SLOT="$(get_version_component_range 1-2)"
-KEYWORDS="~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
IUSE="doc java cxx tcl test"
REQUIRED_USE="test? ( tcl )"
@@ -93,6 +93,8 @@ src_prepare() {
# core, ~300MB each. This patch uses links instead, saves a lot of space.
epatch "${FILESDIR}"/${PN}-6.0.20-test-link.patch
+ epatch "${FILESDIR}"/${PN}-6.0.35-winnt.patch
+
# Upstream release script grabs the dates when the script was run, so lets
# end-run them to keep the date the same.
export REAL_DB_RELEASE_DATE="$(awk \
@@ -167,6 +169,14 @@ multilib_src_configure() {
myconf+=(--disable-tcl )
fi
+ if [[ ${CHOST} == *-winnt* ]]; then
+ # this one should really sound --enable-windows, but
+ # seems the db devs only support mingw ... doesn't enable
+ # anything too specific to mingw.
+ myconf+=(--enable-mingw)
+ myconf+=(--with-mutex=win32)
+ fi
+
# sql_compat will cause a collision with sqlite3
# --enable-sql_compat
# Don't --enable-sql* because we don't want to use bundled sqlite.