dev-libs/npth: marked *-macos, *-solaris
authorFabian Groffen <grobian@gentoo.org>
Tue, 24 Jan 2017 09:41:42 +0000 (10:41 +0100)
committerFabian Groffen <grobian@gentoo.org>
Tue, 24 Jan 2017 09:57:32 +0000 (10:57 +0100)
Package-Manager: portage-2.3.0

dev-libs/npth/npth-1.3.ebuild

index 6e8ba3061681482b3d709572347bd071d3ecbdf1..23ad1eb43ef65fc89584adc7aff16792349509dc 100644 (file)
@@ -1,18 +1,25 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=6
 
+inherit libtool
+
 DESCRIPTION="New GNU Portable Threads Library"
 HOMEPAGE="https://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git"
 SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="static-libs"
 
+src_prepare() {
+       default
+       elibtoolize  # for Solaris shared library
+}
+
 src_configure() {
        econf $(use_enable static-libs static)
 }