summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2013-04-13 02:08:44 +0000
committerMichael Weber <xmw@gentoo.org>2013-04-13 02:08:44 +0000
commit611b777ce5a9f9e67b563135a9676e8fcf8422b2 (patch)
treea9c3c452c05750a5663648c590f822859e21db82 /app-admin/elektra
parentfix parallel build (bug 461234, bug 423053) (diff)
downloadgentoo-2-611b777ce5a9f9e67b563135a9676e8fcf8422b2.tar.gz
gentoo-2-611b777ce5a9f9e67b563135a9676e8fcf8422b2.tar.bz2
gentoo-2-611b777ce5a9f9e67b563135a9676e8fcf8422b2.zip
Move elektra include file in subdir (bug 447246, Andreas Sturmlechner)
(Portage version: 2.2.0_alpha171/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Diffstat (limited to 'app-admin/elektra')
-rw-r--r--app-admin/elektra/ChangeLog5
-rw-r--r--app-admin/elektra/elektra-0.7.1-r3.ebuild17
2 files changed, 14 insertions, 8 deletions
diff --git a/app-admin/elektra/ChangeLog b/app-admin/elektra/ChangeLog
index 74b7deacb16e..33f3b6bae648 100644
--- a/app-admin/elektra/ChangeLog
+++ b/app-admin/elektra/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-admin/elektra
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/elektra/ChangeLog,v 1.13 2013/04/13 01:48:20 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/elektra/ChangeLog,v 1.14 2013/04/13 02:08:44 xmw Exp $
+
+ 13 Apr 2013; Michael Weber <xmw@gentoo.org> elektra-0.7.1-r3.ebuild:
+ Move elektra include file in subdir (bug 447246, Andreas Sturmlechner)
13 Apr 2013; Michael Weber <xmw@gentoo.org> elektra-0.7.1-r2.ebuild,
elektra-0.7.1-r3.ebuild, elektra-0.8.3.ebuild, elektra-0.8.3-r1.ebuild:
diff --git a/app-admin/elektra/elektra-0.7.1-r3.ebuild b/app-admin/elektra/elektra-0.7.1-r3.ebuild
index cefe32331632..f2e318527ec9 100644
--- a/app-admin/elektra/elektra-0.7.1-r3.ebuild
+++ b/app-admin/elektra/elektra-0.7.1-r3.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/elektra/elektra-0.7.1-r3.ebuild,v 1.2 2013/04/13 01:48:20 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/elektra/elektra-0.7.1-r3.ebuild,v 1.3 2013/04/13 02:08:44 xmw Exp $
EAPI=4
-inherit autotools eutils
+inherit autotools eutils multilib
DESCRIPTION="universal and secure framework to store config parameters in a hierarchical key-value pair mechanism"
HOMEPAGE="http://freedesktop.org/wiki/Software/Elektra"
@@ -64,14 +64,17 @@ src_install() {
emake DESTDIR="${D}" install
local my_f=""
- #avoid collision with kerberos (bug 403025)
+ #avoid collision with kerberos (bug 403025, 447246)
+ mkdir "${D}"/usr/include/elektra || die
for my_f in kdb kdbbackend.h kdbos.h kdbtools.h keyset kdb.h \
kdbloader.h kdbprivate.h key ; do
- mv "${D}"/usr/include/{,elektra-}"${my_f}" || die
- elog "/usr/include/${my_f} installed as elektra-${my_f}"
+ mv "${D}"/usr/include/{,elektra\/}"${my_f}" || die
+ elog "/usr/include/${my_f} installed as elektra/${my_f}"
done
- sed -e '/^#include/s:kdbos.h:elektra-kdbos.h:' \
- -i "${D}"/usr/include/elektra-kdb.h || die
+ sed -e '/^includedir/s/$/\/elektra/' \
+ -i "${D}"/usr/$(get_libdir)/pkgconfig/elektra*.pc || die
+ sed -e '/^Cflags/s/$/\/elektra/' \
+ -i "${D}"/usr/$(get_libdir)/pkgconfig/elektra*.pc || die
#avoid collision with allegro (bug 409305)
for my_f in $(find "${D}"/usr/share/man/man3 -name "key.3*") ; do