summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-12-19 09:42:24 +0000
committerJustin Lecher <jlec@gentoo.org>2012-12-19 09:42:24 +0000
commitbdf0d5720374838c97ab80310911dc566b9608e9 (patch)
tree85a133a57f85ecd55f07005ad38725d3e0443117 /sys-fs
parentStable on amd64, wrt bug #447744 (diff)
downloadgentoo-2-bdf0d5720374838c97ab80310911dc566b9608e9.tar.gz
gentoo-2-bdf0d5720374838c97ab80310911dc566b9608e9.tar.bz2
gentoo-2-bdf0d5720374838c97ab80310911dc566b9608e9.zip
sys-fs/aufs-util: Add support for aufs_type.h in kernel src dir
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/aufs-util/ChangeLog6
-rw-r--r--sys-fs/aufs-util/aufs-util-3.6.ebuild7
-rw-r--r--sys-fs/aufs-util/metadata.xml6
3 files changed, 13 insertions, 6 deletions
diff --git a/sys-fs/aufs-util/ChangeLog b/sys-fs/aufs-util/ChangeLog
index 00b77128972d..ad5242785ff6 100644
--- a/sys-fs/aufs-util/ChangeLog
+++ b/sys-fs/aufs-util/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-fs/aufs-util
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/aufs-util/ChangeLog,v 1.1 2012/11/26 20:44:57 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/aufs-util/ChangeLog,v 1.2 2012/12/19 09:42:24 jlec Exp $
+
+ 19 Dec 2012; Justin Lecher <jlec@gentoo.org> aufs-util-3.6.ebuild,
+ metadata.xml:
+ Add support for aufs_type.h in kernel src dir
26 Nov 2012; Justin Lecher <jlec@gentoo.org> +aufs-util-3.6.ebuild,
+metadata.xml:
diff --git a/sys-fs/aufs-util/aufs-util-3.6.ebuild b/sys-fs/aufs-util/aufs-util-3.6.ebuild
index 61f0f655fe04..4a5f0c2ef8a5 100644
--- a/sys-fs/aufs-util/aufs-util-3.6.ebuild
+++ b/sys-fs/aufs-util/aufs-util-3.6.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/aufs-util/aufs-util-3.6.ebuild,v 1.1 2012/11/26 20:44:57 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/aufs-util/aufs-util-3.6.ebuild,v 1.2 2012/12/19 09:42:24 jlec Exp $
EAPI=5
-inherit linux-info multilib toolchain-funcs
+inherit flag-o-matic linux-info multilib toolchain-funcs
DESCRIPTION="Utilities are always necessary for aufs"
HOMEPAGE="http://aufs.sourceforge.net/"
@@ -28,6 +28,9 @@ CONFIG_CHECK="~AUFS_FS"
ERROR_AUFS_FS="In order to mount aufs you need to enable CONFIG_AUFS_FS in your kernel"
src_prepare() {
+ [[ -e "${KERNEL_DIR}"/include/linux/aufs_type.h ]] || \
+ die "Please select aufs-sources before building ${PN}"
+ append-cppflags -I"${KERNEL_DIR}/include"
sed \
-e "/LDFLAGS += -static -s/d" \
-e "/CFLAGS/s:-O::g" \
diff --git a/sys-fs/aufs-util/metadata.xml b/sys-fs/aufs-util/metadata.xml
index c845479d513e..4a00a64b40ae 100644
--- a/sys-fs/aufs-util/metadata.xml
+++ b/sys-fs/aufs-util/metadata.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer>
- <email>jlec@gentoo.org</email>
- </maintainer>
+ <maintainer>
+ <email>jlec@gentoo.org</email>
+ </maintainer>
</pkgmetadata>