summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>