summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/libsmbios')
-rw-r--r--sys-libs/libsmbios/Manifest1
-rw-r--r--sys-libs/libsmbios/files/libsmbios-2.2.28-gcc46.patch11
-rw-r--r--sys-libs/libsmbios/libsmbios-2.2.28.ebuild80
3 files changed, 0 insertions, 92 deletions
diff --git a/sys-libs/libsmbios/Manifest b/sys-libs/libsmbios/Manifest
index 516534772daf..5f2b626164f2 100644
--- a/sys-libs/libsmbios/Manifest
+++ b/sys-libs/libsmbios/Manifest
@@ -1,2 +1 @@
-DIST libsmbios-2.2.28.tar.bz2 943292 SHA256 dd247fd43296df3352435b090dd789a22a89c4b316e98b46b915323290a3e350 SHA512 64477adb4cc647613c682d8ff30ced0c951bc83d4cfc696dc343690fb37155e53b0c8c338c7c66822f3b91480fadaf5f70eee6b1ec33371c623213ea07d2b78f WHIRLPOOL e0427e406426705163614f76ac460fa1778b94ad9ce180f606cdf02ff037ee29275830e48065e8a883a19ebe314cc77eabf3cf6a4f9f5c8d5d0b2372486d64ac
DIST libsmbios-2.3.0.tar.xz 830840 SHA256 c71f040df170f6b55a874f292929792449ba1fad6029ba18544ed04a88343c1c SHA512 944df2dde0df8a02d4c5a84ff6e535e112e6d72b81177c8faba7c45b349ec8c8b2149439c4dc6ea834c5eedad1ac59d8bf073a3d48bf7caccc73d0317f00e216 WHIRLPOOL ac2acbb780f45ebcc9c616881432c981fc9907682b3b4d1e7164921cfa6beeef1a25bdde949375455843209556938ce45a92df8b2a190ab689f1673e72561ac9
diff --git a/sys-libs/libsmbios/files/libsmbios-2.2.28-gcc46.patch b/sys-libs/libsmbios/files/libsmbios-2.2.28-gcc46.patch
deleted file mode 100644
index 0532e01b4363..000000000000
--- a/sys-libs/libsmbios/files/libsmbios-2.2.28-gcc46.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- libsmbios-2.2.28/src/include/smbios/config/compiler/gcc.hpp
-+++ libsmbios-2.2.28/src/include/smbios/config/compiler/gcc.hpp
-@@ -113,7 +113,7 @@
- # error "Compiler not configured - please reconfigure"
- #endif
- //
--#if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ > 5))
-+#if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ > 7))
- # if defined(LIBSMBIOS_ASSERT_CONFIG)
- # error "Unknown compiler version - please run the configure tests and report the results"
- # else
diff --git a/sys-libs/libsmbios/libsmbios-2.2.28.ebuild b/sys-libs/libsmbios/libsmbios-2.2.28.ebuild
deleted file mode 100644
index 56616702c6ef..000000000000
--- a/sys-libs/libsmbios/libsmbios-2.2.28.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 )
-
-inherit eutils python-single-r1 flag-o-matic autotools
-
-DESCRIPTION="Provide access to (SM)BIOS information"
-HOMEPAGE="http://linux.dell.com/libsmbios/main/index.html"
-SRC_URI="http://linux.dell.com/libsmbios/download/libsmbios/${P}/${P}.tar.bz2
- http://linux.dell.com/libsmbios/download/libsmbios/old/${P}/${P}.tar.bz2"
-
-LICENSE="GPL-2 OSL-2.0"
-SLOT="0"
-KEYWORDS="amd64 ia64 x86"
-IUSE="doc graphviz nls python static-libs test"
-
-RDEPEND="dev-libs/libxml2
- sys-libs/zlib
- nls? ( virtual/libintl )
- python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- doc? ( app-doc/doxygen )
- graphviz? ( media-gfx/graphviz )
- nls? ( sys-devel/gettext )
- test? ( >=dev-util/cppunit-1.9.6 )"
-
-pkg_setup() {
- use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${PN}-2.2.28-gcc46.patch \
- "${FILESDIR}"/${PN}-fix-pie.patch \
- "${FILESDIR}"/${PN}-2.2.28-cppunit-tests.patch
-
- >pkg/py-compile
-
- # dist-lzma was removed from automake-1.12 (bug #422779)
- sed 's@dist-lzma@dist-xz@' -i "${S}"/configure.ac || die
-
- eautoreconf
-}
-
-src_configure() {
- #Remove -O3 for bug #290097
- replace-flags -O3 -O2
-
- econf \
- $(use_enable doc doxygen) \
- $(use_enable graphviz) \
- $(use_enable nls) \
- $(use_enable python) \
- $(use_enable static-libs static)
-}
-
-src_install() {
- emake install DESTDIR="${D}"
-
- rm -rf "${D}etc/yum"
- rm -rf "${D}usr/lib/yum-plugins"
- if ! use python ; then
- rmdir "${D}libsmbios_c" "${D}usr/share/smbios-utils"
- rm -rf "${D}etc"
- else
- python_scriptinto /usr/sbin
- python_doscript "${D}"/usr/sbin/smbios-{lcd-brightness,passwd,rbu-bios-update,sys-info,token-ctl,wakeup-ctl,wireless-ctl}
- fi
-
- insinto /usr/include/
- doins -r src/include/smbios/
-
- dodoc AUTHORS ChangeLog NEWS README TODO
-
- use static-libs || prune_libtool_files --all
-}