summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeert Bevin <gbevin@gentoo.org>2002-04-03 09:48:09 +0000
committerGeert Bevin <gbevin@gentoo.org>2002-04-03 09:48:09 +0000
commit8eb6a6b7a1fb0edb8ca0dd84fccb613d8f6215bd (patch)
tree543ad8bd84693e009328a4e9e91ded87b74af634 /sys-libs/pam
parentpam changes to make it compile with gcc3, only tested on my machine (diff)
downloadgentoo-2-8eb6a6b7a1fb0edb8ca0dd84fccb613d8f6215bd.tar.gz
gentoo-2-8eb6a6b7a1fb0edb8ca0dd84fccb613d8f6215bd.tar.bz2
gentoo-2-8eb6a6b7a1fb0edb8ca0dd84fccb613d8f6215bd.zip
added gcc3 related comments
Diffstat (limited to 'sys-libs/pam')
-rw-r--r--sys-libs/pam/pam-0.75-r5.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-libs/pam/pam-0.75-r5.ebuild b/sys-libs/pam/pam-0.75-r5.ebuild
index 23b9d2e5b80e..77831913ff9c 100644
--- a/sys-libs/pam/pam-0.75-r5.ebuild
+++ b/sys-libs/pam/pam-0.75-r5.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: System Team <system@gentoo.org>
# Author: Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.75-r5.ebuild,v 1.1 2002/04/03 09:46:40 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.75-r5.ebuild,v 1.2 2002/04/03 09:48:09 gbevin Exp $
S=${WORKDIR}/Linux-PAM-${PV}
S2=${WORKDIR}/pam
@@ -33,6 +33,8 @@ src_unpack() {
done
autoconf
+
+ # for gcc3 compatibility
cp configure configure_old
sed -e "s:-lpwdb:-lpwdb -lcrypt -L/lib -L/usr/lib:" \
configure_old > configure
@@ -56,6 +58,7 @@ src_compile() {
-e "s:-Wpointer-arith::" \
-e "s:^CFLAGS=:CFLAGS=${CFLAGS} :" \
Make.orig > Make.Rules
+ # for gcc3 compatibility
cp modules/pam_pwdb/Makefile modules/pam_pwdb/Makefile_orig
sed -e "s:-lpwdb:-lpwdb -lcrypt -lnsl:g" \
modules/pam_pwdb/Makefile_orig > modules/pam_pwdb/Makefile