diff options
author | Tavis Ormandy <taviso@gentoo.org> | 2003-05-21 12:59:30 +0000 |
---|---|---|
committer | Tavis Ormandy <taviso@gentoo.org> | 2003-05-21 12:59:30 +0000 |
commit | 78abda844a467e55fc2dc1a1fea015cf441c57f6 (patch) | |
tree | ee9021f7a7cd6c1a36516b52f2c1aec3d76ee62b /sys-libs/pam/pam-0.75-r11.ebuild | |
parent | hteditor is broken on alpha, hexedit looks good though. (diff) | |
download | historical-78abda844a467e55fc2dc1a1fea015cf441c57f6.tar.gz historical-78abda844a467e55fc2dc1a1fea015cf441c57f6.tar.bz2 historical-78abda844a467e55fc2dc1a1fea015cf441c57f6.zip |
check if libglib contains "compaq computer corp", if it does pam needs libots.
Diffstat (limited to 'sys-libs/pam/pam-0.75-r11.ebuild')
-rw-r--r-- | sys-libs/pam/pam-0.75-r11.ebuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys-libs/pam/pam-0.75-r11.ebuild b/sys-libs/pam/pam-0.75-r11.ebuild index faf5827a29c1..8affd0c79b52 100644 --- a/sys-libs/pam/pam-0.75-r11.ebuild +++ b/sys-libs/pam/pam-0.75-r11.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.75-r11.ebuild,v 1.9 2003/05/19 00:43:19 taviso Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.75-r11.ebuild,v 1.10 2003/05/21 12:59:17 taviso Exp $ IUSE="berkdb" @@ -64,10 +64,10 @@ src_unpack() { src_compile() { export CFLAGS="${CFLAGS} -fPIC" if [ "${ARCH}" = "alpha" ]; then - if [ -f /usr/lib/libots.so -a ! -f /usr/lib/libglib.so -a /usr/lib/libglib.a ]; then + if [ -z "`strings -a /usr/lib/libglib.a | grep -i 'Compaq Computer Corp.'`" ] ; then # should be LDFLAGS, but this configure is screwy. - einfo "looks like you compiled glib with ccc, i need to append -lots..." - einfo "Dont worry if i've got this wrong, PAM will still build correctly..." + einfo "It looks like you compiled glib with ccc, this is okay, but" + einfo "I'll need to force gcc to link with libots...." append-flags -lots cp ${S}/modules/pam_pwdb/Makefile ${S}/modules/pam_pwdb/Makefile.orig sed -e 's/$(CC) -o/$(CC) -lots -o/g' ${S}/modules/pam_pwdb/Makefile.orig > \ |