commit:     b51c428eb913145559affc22f8cf18242b9e7849
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 11 00:12:53 2016 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Mon Jan 11 00:12:53 2016 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=b51c428e

net-libs/libevhtp: Install shared object, too

Package-Manager: portage-2.2.26

 net-libs/libevhtp/libevhtp-1.2.11n.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/net-libs/libevhtp/libevhtp-1.2.11n.ebuild 
b/net-libs/libevhtp/libevhtp-1.2.11n.ebuild
index bbc0a59..9137d17 100644
--- a/net-libs/libevhtp/libevhtp-1.2.11n.ebuild
+++ b/net-libs/libevhtp/libevhtp-1.2.11n.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-inherit cmake-utils
+inherit cmake-utils multilib
 
 DESCRIPTION="A more flexible replacement for libevent's http EAPI"
 HOMEPAGE="http://ellzey.github.io/libevhtp/";
@@ -20,8 +20,14 @@ DEPEND="ssl? ( dev-libs/openssl:0 )
        dev-libs/oniguruma"
 RDEPEND="${DEPEND}"
 
+src_prepare() {
+       sed -i -e 
"s#CMAKE_INSTALL_PREFIX}/lib#CMAKE_INSTALL_PREFIX}/$(get_libdir)#" 
CMakeLists.txt || die
+}
+
 src_configure() {
        local mycmakeargs=(
+               -DEVHTP_BUILD_SHARED=ON
                $(usex ssl "" -DEVHTP_DISABLE_SSL=ON) )
+
        cmake-utils_src_configure
 }

Reply via email to