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 | 635983e0cde1b9642e484ededbc966380abdb272 (patch) | |
tree | db9258caeff8d9a43a9bd86e445380e58bc32db9 /net-mail/poppassd_pam/poppassd_pam-1.0.ebuild | |
parent | Stable on sparc. (diff) | |
download | historical-635983e0cde1b9642e484ededbc966380abdb272.tar.gz historical-635983e0cde1b9642e484ededbc966380abdb272.tar.bz2 historical-635983e0cde1b9642e484ededbc966380abdb272.zip |
dont use $CC
Diffstat (limited to 'net-mail/poppassd_pam/poppassd_pam-1.0.ebuild')
-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 "" } |