summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-04-22 16:13:32 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-04-22 16:13:32 +0000
commit087a0b7b006bf4701cec7b48970b9f9e7b666c0a (patch)
tree45036d8b669d3e79c3189cbe811701bda2ee61eb /sys-auth/pam_usb/pam_usb-0.5.0.ebuild
parentPrepare for new ssmtp with optional mta support (bug #289973). (diff)
downloadgentoo-2-087a0b7b006bf4701cec7b48970b9f9e7b666c0a.tar.gz
gentoo-2-087a0b7b006bf4701cec7b48970b9f9e7b666c0a.tar.bz2
gentoo-2-087a0b7b006bf4701cec7b48970b9f9e7b666c0a.zip
Backport -openpam.patch from 0.4.2.
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'sys-auth/pam_usb/pam_usb-0.5.0.ebuild')
-rw-r--r--sys-auth/pam_usb/pam_usb-0.5.0.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/sys-auth/pam_usb/pam_usb-0.5.0.ebuild b/sys-auth/pam_usb/pam_usb-0.5.0.ebuild
index e6c2c9e325d8..822b92e541f2 100644
--- a/sys-auth/pam_usb/pam_usb-0.5.0.ebuild
+++ b/sys-auth/pam_usb/pam_usb-0.5.0.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_usb/pam_usb-0.5.0.ebuild,v 1.1 2011/04/22 16:03:01 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_usb/pam_usb-0.5.0.ebuild,v 1.2 2011/04/22 16:13:32 ssuominen Exp $
EAPI=4
-inherit pam toolchain-funcs
+inherit eutils pam toolchain-funcs
DESCRIPTION="A pam module to provide authentication using USB device"
HOMEPAGE="http://pamusb.org/"
@@ -27,9 +27,12 @@ RDEPEND="${COMMON_DEPEND}
DEPEND="${COMMON_DEPEND}
dev-util/pkgconfig"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-openpam.patch
+}
+
src_compile() {
- tc-export CC
- emake
+ emake CC="$(tc-getCC)"
}
src_install() {