summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2011-01-25 03:52:32 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2011-01-25 03:52:32 +0000
commit2ce1ea2a62b5f89417e8cb7b65a87df58f47e65a (patch)
treeefe4f4633c085059d2ddac1ccd81b3c7d7e601e0 /sys-process/audit/audit-1.7.4.ebuild
parentVersion bump. Fix bug #352198: parallel build, bug #322239: prelude support, ... (diff)
downloadgentoo-2-2ce1ea2a62b5f89417e8cb7b65a87df58f47e65a.tar.gz
gentoo-2-2ce1ea2a62b5f89417e8cb7b65a87df58f47e65a.tar.bz2
gentoo-2-2ce1ea2a62b5f89417e8cb7b65a87df58f47e65a.zip
Backport build fix for bug #352198 to other versions.
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
Diffstat (limited to 'sys-process/audit/audit-1.7.4.ebuild')
-rw-r--r--sys-process/audit/audit-1.7.4.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys-process/audit/audit-1.7.4.ebuild b/sys-process/audit/audit-1.7.4.ebuild
index 3ae9820359d2..bd91b089bf4d 100644
--- a/sys-process/audit/audit-1.7.4.ebuild
+++ b/sys-process/audit/audit-1.7.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/audit-1.7.4.ebuild,v 1.4 2010/10/15 21:15:49 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/audit-1.7.4.ebuild,v 1.5 2011/01/25 03:52:32 robbat2 Exp $
EAPI="3"
PYTHON_DEPEND="2"
@@ -69,6 +69,10 @@ src_prepare() {
# Disable byte-compilation of Python modules.
echo "#!/bin/sh" > py-compile
+
+ # Bug 352198: Avoid parallel build fail
+ cd "${S}"/src/mt
+ [[ ! -s private.h ]] && ln -s ../../lib/private.h .
}
src_configure() {