summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2013-04-30 19:37:00 +0000
committerChristian Faulhammer <fauli@gentoo.org>2013-04-30 19:37:00 +0000
commitbdcb47964eca94bdca1ff0cac775f0b3bc3c6117 (patch)
treedd542b41cb16b0f97ea5816adafc568ce388d8a6 /app-admin/tmpwatch
parentFix build with >=json-c-0.11 (bug #467354, patch by eroen). (diff)
downloadgentoo-2-bdcb47964eca94bdca1ff0cac775f0b3bc3c6117.tar.gz
gentoo-2-bdcb47964eca94bdca1ff0cac775f0b3bc3c6117.tar.bz2
gentoo-2-bdcb47964eca94bdca1ff0cac775f0b3bc3c6117.zip
use system AR not unconditional call to /usr/bin/ar, bug 468018 by nimiux
(Portage version: 2.1.11.62/cvs/Linux i686, signed Manifest commit with key 2B859DE3)
Diffstat (limited to 'app-admin/tmpwatch')
-rw-r--r--app-admin/tmpwatch/ChangeLog7
-rw-r--r--app-admin/tmpwatch/tmpwatch-2.11.ebuild12
2 files changed, 15 insertions, 4 deletions
diff --git a/app-admin/tmpwatch/ChangeLog b/app-admin/tmpwatch/ChangeLog
index 56a3baec4b8a..a3a0a4025fc3 100644
--- a/app-admin/tmpwatch/ChangeLog
+++ b/app-admin/tmpwatch/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-admin/tmpwatch
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/tmpwatch/ChangeLog,v 1.103 2012/11/27 19:06:27 swift Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/tmpwatch/ChangeLog,v 1.104 2013/04/30 19:37:00 fauli Exp $
+
+ 30 Apr 2013; Christian Faulhammer <fauli@gentoo.org> tmpwatch-2.11.ebuild:
+ use system AR not unconditional call to /usr/bin/ar, bug 468018 by nimiux
23 Nov 2012; <swift@gentoo.org> tmpwatch-2.10.1.ebuild,
tmpwatch-2.10.3.ebuild, tmpwatch-2.11.ebuild:
diff --git a/app-admin/tmpwatch/tmpwatch-2.11.ebuild b/app-admin/tmpwatch/tmpwatch-2.11.ebuild
index 9c163aefc815..5497f7dbf33c 100644
--- a/app-admin/tmpwatch/tmpwatch-2.11.ebuild
+++ b/app-admin/tmpwatch/tmpwatch-2.11.ebuild
@@ -1,6 +1,10 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/tmpwatch/tmpwatch-2.11.ebuild,v 1.2 2012/11/27 19:06:27 swift Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/tmpwatch/tmpwatch-2.11.ebuild,v 1.3 2013/04/30 19:37:00 fauli Exp $
+
+EAPI=5
+
+inherit toolchain-funcs
DESCRIPTION="Files which haven't been accessed in a given period of time are removed from specified directories"
HOMEPAGE="https://fedorahosted.org/tmpwatch/"
@@ -14,6 +18,10 @@ IUSE="selinux"
RDEPEND="selinux? ( sec-policy/selinux-tmpreaper )"
DEPEND="${RDEPEND}"
+src_compile() {
+ emake AR="$(tc-getAR)"
+}
+
src_install() {
dosbin tmpwatch || die
doman tmpwatch.8 || die