summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Wilcox <AWilcox@Wilcox-Tech.com>2016-03-27 16:38:12 -0500
committerAndrew Wilcox <AWilcox@Wilcox-Tech.com>2016-03-27 16:38:12 -0500
commit65b06e05d033438fad0e36b3bce3c318f4024856 (patch)
tree67cee168df4e600d1d966355f80d2cf5c99c0ac7
parent0aa04d5ff4368a3d288b3e7df5a22f719c1bab3e (diff)
downloadpackages-65b06e05d033438fad0e36b3bce3c318f4024856.tar.gz
packages-65b06e05d033438fad0e36b3bce3c318f4024856.tar.bz2
packages-65b06e05d033438fad0e36b3bce3c318f4024856.tar.xz
packages-65b06e05d033438fad0e36b3bce3c318f4024856.zip
sys-devel/build-tools: Allow cross-compilation
-rw-r--r--sys-devel/build-tools/build-tools-1.ebuild8
-rw-r--r--sys-devel/build-tools/metadata.xml8
2 files changed, 13 insertions, 3 deletions
diff --git a/sys-devel/build-tools/build-tools-1.ebuild b/sys-devel/build-tools/build-tools-1.ebuild
index 02a462492..4288c5248 100644
--- a/sys-devel/build-tools/build-tools-1.ebuild
+++ b/sys-devel/build-tools/build-tools-1.ebuild
@@ -10,14 +10,12 @@ SRC_URI=""
LICENSE="UoI-NCSA"
SLOT="0"
KEYWORDS="arm mips ppc x86 x86_64 ~alpha ~arm64 ~hppa ~ppc64 ~sparc64"
-IUSE=""
+IUSE="+native"
DEPEND=""
RDEPEND="${DEPEND}
dev-util/cmake[doc]
dev-vcs/cvs[doc]
- dev-vcs/git[curl,doc,gpg]
- dev-vcs/subversion[doc]
sys-apps/man-pages
sys-apps/man-pages-posix
sys-devel/autoconf
@@ -30,4 +28,8 @@ RDEPEND="${DEPEND}
sys-devel/patch
=sys-kernel/linux-headers-4.4
virtual/yacc
+ native? (
+ dev-vcs/git[curl,doc,gpg]
+ dev-vcs/subversion[doc]
+ )
"
diff --git a/sys-devel/build-tools/metadata.xml b/sys-devel/build-tools/metadata.xml
new file mode 100644
index 000000000..036ced2dd
--- /dev/null
+++ b/sys-devel/build-tools/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <longdescription lang="en">Provides a set of tools useful for software development.</longdescription>
+ <use>
+ <flag name="native">Indicates a native build. Disable for cross-compiling.</flag>
+ </use>
+</pkgmetadata>