summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-03-15 15:33:48 +0100
committerLars Wendler <polynomial-c@gentoo.org>2016-03-15 15:34:03 +0100
commit94b31c831ca409947d239ade0a516d739fbf5ea5 (patch)
tree07c50824412893830786b14d88f86aeaa8fbfe63 /sys-libs/libsmbios
parentapp-editors/jedit: Stable for amd64. Retroactively mark stable for the remain... (diff)
downloadgentoo-94b31c831ca409947d239ade0a516d739fbf5ea5.tar.gz
gentoo-94b31c831ca409947d239ade0a516d739fbf5ea5.tar.bz2
gentoo-94b31c831ca409947d239ade0a516d739fbf5ea5.zip
sys-libs/libsmbios: Fixed installation with USE="-python" (bug #577474).
Package-Manager: portage-2.2.28 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-libs/libsmbios')
-rw-r--r--sys-libs/libsmbios/libsmbios-2.3.0-r1.ebuild5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys-libs/libsmbios/libsmbios-2.3.0-r1.ebuild b/sys-libs/libsmbios/libsmbios-2.3.0-r1.ebuild
index 495b64e6a3b..08e83cb58e4 100644
--- a/sys-libs/libsmbios/libsmbios-2.3.0-r1.ebuild
+++ b/sys-libs/libsmbios/libsmbios-2.3.0-r1.ebuild
@@ -64,10 +64,7 @@ src_configure() {
src_install() {
emake install DESTDIR="${D}"
- if ! use python ; then
- rmdir "${ED%/}/libsmbios_c" "${ED%/}/usr/share/smbios-utils" || die
- rm -r "${ED%/}/etc" || die
- else
+ if use python ; then
local python_scriptroot="/usr/sbin"
python_doscript "${ED%/}"/usr/sbin/smbios-{{keyboard,thermal,token,wakeup,wireless}-ctl,lcd-brightness,passwd,rbu-bios-update,sys-info}
fi