public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/ferrisloki/
Date: Wed,  5 Apr 2017 17:15:07 +0000 (UTC)	[thread overview]
Message-ID: <1491412479.bc02f03455e8b95ee90a444d2ee79e6d5f38ab34.soap@gentoo> (raw)

commit:     bc02f03455e8b95ee90a444d2ee79e6d5f38ab34
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  5 17:14:18 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Apr  5 17:14:39 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc02f034

dev-libs/ferrisloki: Remove STLport dependency

Package-Manager: Portage-2.3.5, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4369

 dev-libs/ferrisloki/ferrisloki-3.0.13-r2.ebuild | 49 +++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/dev-libs/ferrisloki/ferrisloki-3.0.13-r2.ebuild b/dev-libs/ferrisloki/ferrisloki-3.0.13-r2.ebuild
new file mode 100644
index 00000000000..3fdf609652c
--- /dev/null
+++ b/dev-libs/ferrisloki/ferrisloki-3.0.13-r2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic
+
+DESCRIPTION="Loki C++ library from Modern C++ Design"
+HOMEPAGE="http://www.libferris.com/"
+SRC_URI="mirror://sourceforge/witme/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs"
+
+RDEPEND="
+	>=dev-libs/libsigc++-2.6:2"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+
+src_prepare() {
+	default
+
+	# derice this damn configure script
+	sed -i \
+		-e '/^CFLAGS/{s: -O3 : :g;s:-Wl,-O1 -Wl,--hash-style=both::;}' \
+		-e 's:-lstlport_gcc:-lstlport:' \
+		configure || die
+
+	# Fix building with libsigc++-2.6
+	find -name '*.h' -exec sed -i '/sigc++\/object.h/d' {} + || die
+	find -name '*.hh' -exec sed -i '/sigc++\/object.h/d' {} + || die
+}
+
+src_configure() {
+	append-cxxflags -std=c++11
+
+	econf \
+		--disable-stlport \
+		$(use_enable static-libs static)
+}
+
+src_install() {
+	default
+
+	# package provides .pc files
+	find "${D}" -name '*.la' -delete || die
+}


             reply	other threads:[~2017-04-05 17:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-05 17:15 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-09 17:44 [gentoo-commits] repo/gentoo:master commit in: dev-libs/ferrisloki/ Arthur Zamarin
2024-04-09 17:43 Arthur Zamarin
2024-04-09 17:43 Arthur Zamarin
2017-04-05 17:15 David Seifert
2016-03-06 20:52 Mikle Kolyada
2016-02-21 23:44 Pacho Ramos
2015-12-23 20:38 Pacho Ramos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1491412479.bc02f03455e8b95ee90a444d2ee79e6d5f38ab34.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox