summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-28 16:01:11 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-28 16:01:11 +0000
commitd9d2a3493a110aa24c8ff50dca57121f8f46f32f (patch)
treeaf099edbabad7e5c376d8efb6793e60bdd9ddf71 /sys-fs/trustees
parentRemoving package. (diff)
downloadhistorical-d9d2a3493a110aa24c8ff50dca57121f8f46f32f.tar.gz
historical-d9d2a3493a110aa24c8ff50dca57121f8f46f32f.tar.bz2
historical-d9d2a3493a110aa24c8ff50dca57121f8f46f32f.zip
use tc-getCC
Diffstat (limited to 'sys-fs/trustees')
-rw-r--r--sys-fs/trustees/Manifest4
-rw-r--r--sys-fs/trustees/trustees-2.10.ebuild24
2 files changed, 12 insertions, 16 deletions
diff --git a/sys-fs/trustees/Manifest b/sys-fs/trustees/Manifest
index 88f2278a5331..fbaf7f379ac4 100644
--- a/sys-fs/trustees/Manifest
+++ b/sys-fs/trustees/Manifest
@@ -1,6 +1,6 @@
-MD5 a1005f414c1687ecf71bbadf7bc246b1 trustees-2.10.ebuild 1212
MD5 6dcea45901e3523369230a3babcededc ChangeLog 1526
MD5 8ef457f9ac46b73b855b4a4e5ff9d7d3 metadata.xml 243
-MD5 e31ef0d26e04385f0bf2641499d4873c files/trustees.rc6 1105
+MD5 39bf1a8c3b80c035dfac485d58670124 trustees-2.10.ebuild 1196
MD5 5ea664e13f218e834bc8e884aa8ec607 files/digest-trustees-2.10 61
MD5 8ac726d39e9620a55f0deb6c94b84d16 files/trustees.conf 244
+MD5 e31ef0d26e04385f0bf2641499d4873c files/trustees.rc6 1105
diff --git a/sys-fs/trustees/trustees-2.10.ebuild b/sys-fs/trustees/trustees-2.10.ebuild
index 8177fbe09580..73867c6d4db4 100644
--- a/sys-fs/trustees/trustees-2.10.ebuild
+++ b/sys-fs/trustees/trustees-2.10.ebuild
@@ -1,8 +1,10 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/trustees/trustees-2.10.ebuild,v 1.7 2004/07/15 03:43:13 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/trustees/trustees-2.10.ebuild,v 1.8 2004/10/28 16:01:11 vapier Exp $
-DESCRIPTION="Advanced permission management system (ACLs) for Linux."
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Advanced permission management system (ACLs) for Linux"
HOMEPAGE="http://trustees.sourceforge.net/"
SRC_URI="http://trustees.sourceforge.net/download/${PN}.${PV}.tgz"
@@ -16,28 +18,22 @@ DEPEND="virtual/libc
S="${WORKDIR}"
-pkg_setup() {
- [ ! -e "/usr/src/linux/include/linux/trustee_struct.h" ] && {
+src_compile() {
+ if [ ! -e "${ROOT}/usr/src/linux/include/linux/trustee_struct.h" ] ; then
eerror
eerror "Your currently linked kernel (/usr/src/linux) hasn't"
eerror "been patched for trustees support."
eerror
die "kernel not patched for trustees support"
- }
-
- return 0
-}
+ fi
-src_compile() {
- CFLAGS="${CFLAGS} -I/usr/src/linux/include -include errno.h"
+ append-flags -I${ROOT}/usr/src/linux/include -include errno.h
- echo ${CC} ${CFLAGS} set-trustee.c -o settrustee
- ${CC} ${CFLAGS} set-trustee.c -o settrustee || die "compile problem"
+ $(tc-getCC) ${CFLAGS} set-trustee.c -o settrustee || die "compile problem"
}
src_install() {
- dosbin settrustee
-
+ dosbin settrustee || die
dodoc README
newdoc trustee.conf trustee.conf.example