summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-12-31 19:20:49 +0000
committerMike Frysinger <vapier@gentoo.org>2013-12-31 19:20:49 +0000
commit418e6c6d58477bdcd59f57190766ab4b7fd6dd12 (patch)
tree3fd04cc6b1d398600208b7b2e849f742b6467b4d /sys-apps
parentAdd patch from upstream for building on cpus w/out sse2 #475266 by Jose Quint... (diff)
downloadgentoo-2-418e6c6d58477bdcd59f57190766ab4b7fd6dd12.tar.gz
gentoo-2-418e6c6d58477bdcd59f57190766ab4b7fd6dd12.tar.bz2
gentoo-2-418e6c6d58477bdcd59f57190766ab4b7fd6dd12.zip
Add USE=dns by David Hendricks to control uncommon dns behavior #496336.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/pciutils/ChangeLog6
-rw-r--r--sys-apps/pciutils/metadata.xml1
-rw-r--r--sys-apps/pciutils/pciutils-3.2.1.ebuild8
3 files changed, 10 insertions, 5 deletions
diff --git a/sys-apps/pciutils/ChangeLog b/sys-apps/pciutils/ChangeLog
index 36177b7969a2..84dfb6cf96a0 100644
--- a/sys-apps/pciutils/ChangeLog
+++ b/sys-apps/pciutils/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/pciutils
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.230 2013/11/18 10:36:28 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.231 2013/12/31 19:20:49 vapier Exp $
+
+ 31 Dec 2013; Mike Frysinger <vapier@gentoo.org> metadata.xml,
+ pciutils-3.2.1.ebuild:
+ Add USE=dns by David Hendricks to control uncommon dns behavior #496336.
*pciutils-3.2.1 (18 Nov 2013)
diff --git a/sys-apps/pciutils/metadata.xml b/sys-apps/pciutils/metadata.xml
index aa9db8693539..aab71979be31 100644
--- a/sys-apps/pciutils/metadata.xml
+++ b/sys-apps/pciutils/metadata.xml
@@ -3,6 +3,7 @@
<pkgmetadata>
<herd>base-system</herd>
<use>
+ <flag name='dns'>Enable support for querying the central database of PCI IDs using DNS</flag>
<flag name='kmod'>Enable <pkg>sys-apps/kmod</pkg> support for the -k switch in lspci command</flag>
<flag name='zlib'>Support compressed pci.ids database</flag>
</use>
diff --git a/sys-apps/pciutils/pciutils-3.2.1.ebuild b/sys-apps/pciutils/pciutils-3.2.1.ebuild
index 9ad5e711586d..9114a25b47b4 100644
--- a/sys-apps/pciutils/pciutils-3.2.1.ebuild
+++ b/sys-apps/pciutils/pciutils-3.2.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-3.2.1.ebuild,v 1.1 2013/11/18 10:36:28 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-3.2.1.ebuild,v 1.2 2013/12/31 19:20:49 vapier Exp $
EAPI="5"
@@ -13,7 +13,7 @@ SRC_URI="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux"
-IUSE="+kmod static-libs zlib"
+IUSE="dns +kmod static-libs zlib"
# Have the sub-libs in RDEPEND with [static-libs] since, logically,
# our libssl.a depends on libz.a/etc... at runtime.
@@ -39,7 +39,7 @@ pemake() {
HOST="${CHOST}" \
CROSS_COMPILE="${CHOST}-" \
CC="$(tc-getCC)" \
- DNS="yes" \
+ DNS=$(usex dns) \
IDSDIR='$(SHAREDIR)/misc' \
MANDIR='$(SHAREDIR)/man' \
PREFIX="${EPREFIX}/usr" \
@@ -49,7 +49,7 @@ pemake() {
PCI_COMPRESSED_IDS=0 \
PCI_IDS=pci.ids \
LIBDIR="\${PREFIX}/$(get_libdir)" \
- LIBKMOD="$(usex kmod)" \
+ LIBKMOD=$(usex kmod) \
"$@"
}