diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-06-19 06:41:39 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-06-19 06:41:39 +0000 |
commit | 82943db0811e053afb9111db0d75cd1f257c961c (patch) | |
tree | 1549788cf95bb211d965c83e099416adf1c4f049 /net-mail/poppassd_pam | |
parent | Stable on sparc. (Manifest recommit) (diff) | |
download | gentoo-2-82943db0811e053afb9111db0d75cd1f257c961c.tar.gz gentoo-2-82943db0811e053afb9111db0d75cd1f257c961c.tar.bz2 gentoo-2-82943db0811e053afb9111db0d75cd1f257c961c.zip |
dont use $CC
Diffstat (limited to 'net-mail/poppassd_pam')
-rw-r--r-- | net-mail/poppassd_pam/poppassd_pam-1.0.ebuild | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/net-mail/poppassd_pam/poppassd_pam-1.0.ebuild b/net-mail/poppassd_pam/poppassd_pam-1.0.ebuild index 6ceb287f42ac..ac4a5908bf18 100644 --- a/net-mail/poppassd_pam/poppassd_pam-1.0.ebuild +++ b/net-mail/poppassd_pam/poppassd_pam-1.0.ebuild @@ -1,20 +1,20 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/poppassd_pam/poppassd_pam-1.0.ebuild,v 1.2 2003/09/05 09:10:14 msterret Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-mail/poppassd_pam/poppassd_pam-1.0.ebuild,v 1.3 2004/06/19 06:41:39 vapier Exp $ -inherit eutils +inherit eutils gcc DESCRIPTION="POP Password Changer w/PAM support" -HOMEPAGE="http://freshmeat.net/projects/poppassd_pam/ - http://netwinsite.com/poppassd/" +HOMEPAGE="http://freshmeat.net/projects/poppassd_pam/ http://netwinsite.com/poppassd/" SRC_URI="http://scholar.uws.edu.au/~97074683/${P}.tar.gz" + LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" IUSE="" + DEPEND="virtual/glibc >=sys-libs/pam-0.75-r8" -S=${WORKDIR}/${P} src_unpack() { unpack ${A} @@ -23,16 +23,11 @@ src_unpack() { } src_compile() { - cd ${S} - ${CC} -c ${CFLAGS} ${PN}.c || die "compile failed" - ${CC} -o poppassd ${PN}.o -lpam || die "linking failed" + $(gcc-getCC) -c ${CFLAGS} ${PN}.c || die "compile failed" + $(gcc-getCC) -o poppassd ${PN}.o -lpam || die "linking failed" } src_install() { - insinto /usr/bin - insopts -o root -g bin -m 500 - doins poppassd - dodoc README insinto /etc/pam.d @@ -40,12 +35,13 @@ src_install() { insinto /etc/xinetd.d newins ${FILESDIR}/poppassd.xinetd poppassd + + insinto /usr/bin + insopts -o root -g bin -m 500 + doins poppassd || die } pkg_postinst() { - einfo "" einfo "Make sure to modify /etc/services and add..." - einfo "" einfo "poppassd 106/tcp" - einfo "" } |