diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-11-16 02:28:00 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-11-16 02:28:00 +0000 |
commit | 8a9c6b707b818b12b5c60bec04b0740a07a73436 (patch) | |
tree | c47a62c1e4877aaa2ed3e80e7245b9f73dc7cc9b /sys-apps/util-linux/util-linux-2.12i-r1.ebuild | |
parent | Final pruning out of old gnustep ebuilds (diff) | |
download | historical-8a9c6b707b818b12b5c60bec04b0740a07a73436.tar.gz historical-8a9c6b707b818b12b5c60bec04b0740a07a73436.tar.bz2 historical-8a9c6b707b818b12b5c60bec04b0740a07a73436.zip |
Only include compiler.h if using 2.6 headers #71330.
Diffstat (limited to 'sys-apps/util-linux/util-linux-2.12i-r1.ebuild')
-rw-r--r-- | sys-apps/util-linux/util-linux-2.12i-r1.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys-apps/util-linux/util-linux-2.12i-r1.ebuild b/sys-apps/util-linux/util-linux-2.12i-r1.ebuild index 96a383199054..136dd535ffe9 100644 --- a/sys-apps/util-linux/util-linux-2.12i-r1.ebuild +++ b/sys-apps/util-linux/util-linux-2.12i-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.12i-r1.ebuild,v 1.1 2004/11/14 08:46:54 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.12i-r1.ebuild,v 1.2 2004/11/16 02:28:00 vapier Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -103,7 +103,8 @@ src_compile() { emake || die "emake failed" cd partx - emake CFLAGS="${CFLAGS} -include linux/compiler.h" || die "make partx failed" + has_version sys-kernel/linux26-headers && append-flags -include linux/compiler.h + emake CFLAGS="${CFLAGS}" || die "make partx failed" } src_install() { |