summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny van Dyk <kugelfang@gentoo.org>2004-05-26 11:21:50 +0000
committerDanny van Dyk <kugelfang@gentoo.org>2004-05-26 11:21:50 +0000
commit1387c53b8fd4129a75ee8c198571aa43a5c2c1c1 (patch)
tree789016b614e7b60bbfbe61aa30acd7c68d9d101e /sys-libs/pam_usb/pam_usb-0.2.2.ebuild
parentMarked stable on hppa. (Manifest recommit) (diff)
downloadgentoo-2-1387c53b8fd4129a75ee8c198571aa43a5c2c1c1.tar.gz
gentoo-2-1387c53b8fd4129a75ee8c198571aa43a5c2c1c1.tar.bz2
gentoo-2-1387c53b8fd4129a75ee8c198571aa43a5c2c1c1.zip
Fixed BUG #52077.
Diffstat (limited to 'sys-libs/pam_usb/pam_usb-0.2.2.ebuild')
-rw-r--r--sys-libs/pam_usb/pam_usb-0.2.2.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys-libs/pam_usb/pam_usb-0.2.2.ebuild b/sys-libs/pam_usb/pam_usb-0.2.2.ebuild
index dbb75b0604e4..33ff8f862623 100644
--- a/sys-libs/pam_usb/pam_usb-0.2.2.ebuild
+++ b/sys-libs/pam_usb/pam_usb-0.2.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam_usb/pam_usb-0.2.2.ebuild,v 1.2 2004/05/01 19:48:24 scox Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam_usb/pam_usb-0.2.2.ebuild,v 1.3 2004/05/26 11:21:50 kugelfang Exp $
inherit eutils
@@ -12,13 +12,17 @@ IUSE="pam ssl"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ~ppc ~sparc ~alpha ~hppa ~mips"
+KEYWORDS="x86 ~ppc ~sparc ~alpha ~hppa ~mips ~amd64"
RDEPEND="sys-libs/pam"
DEPEND="ssl? ( dev-libs/openssl )
sys-libs/pam"
src_compile() {
+ if [ "${ARCH}" = "amd64" ]; then
+ # append-flags / CFLAGS doesnt work...
+ sed -i -e "s/CFLAGS. *=/& -fPIC/" src/Makefile
+ fi
emake || die "make failed"
}