summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2003-12-23 04:02:04 +0000
committerJoshua Kinard <kumba@gentoo.org>2003-12-23 04:02:04 +0000
commit18da5c738ca92ecf76c108f2ee28b6ca713839fd (patch)
treecbf9084b708d2d57ddd63655aeb18a7e079d2ae4 /sys-libs
parentAdded a small gnuconfig block to the berkdb build bit, because pam-0.77 pulls... (diff)
downloadgentoo-2-18da5c738ca92ecf76c108f2ee28b6ca713839fd.tar.gz
gentoo-2-18da5c738ca92ecf76c108f2ee28b6ca713839fd.tar.bz2
gentoo-2-18da5c738ca92ecf76c108f2ee28b6ca713839fd.zip
Added a small gnuconfig block to the berkdb build bit, because pam-0.77 pulls in db-4.1.x in most cases, and 4.1.x can't detect a mips64 system properly.
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/pam/ChangeLog6
-rw-r--r--sys-libs/pam/Manifest4
-rw-r--r--sys-libs/pam/pam-0.77.ebuild14
3 files changed, 19 insertions, 5 deletions
diff --git a/sys-libs/pam/ChangeLog b/sys-libs/pam/ChangeLog
index e1f78e90fe5c..f3901cc81d14 100644
--- a/sys-libs/pam/ChangeLog
+++ b/sys-libs/pam/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-libs/pam
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.38 2003/12/21 16:51:20 brad_mssw Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.39 2003/12/23 04:01:56 kumba Exp $
+
+ 22 Dec 2003; Joshua Kinard <kumba@gentoo.org> pam-0.77.ebuild:
+ Added a small gnuconfig block to the berkdb build bit, because pam-0.77 pulls in
+ db-4.1.x in most cases, and 4.1.x can't detect a mips64 system properly.
21 Dec 2003; Brad House <brad_mssw@gentoo.org> pam-0.77.ebuild:
mark stable on amd64
diff --git a/sys-libs/pam/Manifest b/sys-libs/pam/Manifest
index 933319d10142..657fcf02eb5e 100644
--- a/sys-libs/pam/Manifest
+++ b/sys-libs/pam/Manifest
@@ -1,10 +1,10 @@
-MD5 c2e974e20ae9470114189e36b42941ea ChangeLog 6221
+MD5 db1b550bf5307be68a92102268ab7512 ChangeLog 6217
MD5 04493e7fb78879ce6385f5c545a7315b pam-0.75-r10.ebuild 4228
MD5 c366f917105da5082cafe4d4a821cfb2 pam-0.75-r11.ebuild 4702
MD5 df9f17b6bc137ef27a0fa5c2e51a5231 pam-0.75-r7.ebuild 4098
MD5 d9b7f898f1a20564a56c43638de7aad6 pam-0.75-r8.ebuild 3659
MD5 dcaa1c02e7f5d00cf0aeacf53e877fb8 pam-0.75-r9.ebuild 4110
-MD5 8aad5b7b0bce2deaaa315de4ec1baec9 pam-0.77.ebuild 7367
+MD5 aca3084b08b4d408457fd17207e5846d pam-0.77.ebuild 7364
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
MD5 d7ac33a4d3bc266bf5d36862b40c76e5 files/digest-pam-0.75-r10 135
MD5 c8500e98a74c35c4c2007b2bc9ea7589 files/digest-pam-0.75-r11 135
diff --git a/sys-libs/pam/pam-0.77.ebuild b/sys-libs/pam/pam-0.77.ebuild
index 55e1455948d0..d2ab37103ec9 100644
--- a/sys-libs/pam/pam-0.77.ebuild
+++ b/sys-libs/pam/pam-0.77.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.77.ebuild,v 1.9 2003/12/21 16:51:20 brad_mssw Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.77.ebuild,v 1.10 2003/12/23 04:01:56 kumba Exp $
PATCH_LEVEL="1.1"
BDB_VER="4.1.25"
@@ -32,7 +32,7 @@ RDEPEND=">=sys-libs/cracklib-2.7-r8
# link statically to it - <azarah@gentoo.org> (09 Nov 2003).
#inherit needs to be after DEPEND definition to protect RDEPEND
-inherit gcc eutils flag-o-matic
+inherit gcc eutils flag-o-matic gnuconfig
# Note that we link to static versions of glib (pam_console.so)
# and pwdb (pam_pwdb.so) ...
@@ -110,6 +110,16 @@ src_compile() {
einfo "Building Berkley DB ${BDB_VER}..."
cd ${WORKDIR}
cd db-${BDB_VER}/dist || die
+
+ # Pam uses berkdb, which db-4.1.x series can't detect mips64, so we fix it
+ if use mips; then
+ einfo "Updating berkdb config.{guess,sub} for mips"
+ local OLDS="${S}"
+ S="${WORKDIR}/db-${BDB_VER}/dist"
+ gnuconfig_update
+ S="${OLDS}"
+ fi
+
echo db_cv_mutex=UNIX/fcntl > config.cache
./s_config
./configure \