diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-09-25 19:33:39 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-09-28 08:31:11 +0100 |
commit | ad6182343997a405079870a2fe91c4e0c6b94595 (patch) | |
tree | 4aa7483cd0ad7de54338afc8e7971417abe1dd81 /net-news/snownews/snownews-1.6.10.ebuild | |
parent | e8f81810baa21f490d6910e8e2d424546b72a333 (diff) |
gentoo resync : 25.09.2019
Diffstat (limited to 'net-news/snownews/snownews-1.6.10.ebuild')
-rw-r--r-- | net-news/snownews/snownews-1.6.10.ebuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/net-news/snownews/snownews-1.6.10.ebuild b/net-news/snownews/snownews-1.6.10.ebuild index c718b5a16d64..5db56cd8547f 100644 --- a/net-news/snownews/snownews-1.6.10.ebuild +++ b/net-news/snownews/snownews-1.6.10.ebuild @@ -10,12 +10,12 @@ SRC_URI="https://github.com/kouya/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos" -IUSE="unicode" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~x86-macos" +IUSE="" COMMON_DEPEND=" >=dev-libs/libxml2-2.5.6 - >=sys-libs/ncurses-5.3:0=[unicode?] + >=sys-libs/ncurses-5.3:0=[unicode] " RDEPEND=" ${COMMON_DEPEND} @@ -32,7 +32,8 @@ BDEPEND="virtual/pkgconfig" src_prepare() { default tc-export PKG_CONFIG - sed -i 's|-lncurses|`\\$(PKG_CONFIG) --libs '"$(usex unicode ncursesw ncurses)"'`|' configure || die + local libs=$(${PKG_CONFIG} --libs ncursesw) + sed -i "s|-lncursesw\?|${libs}|" configure Config.mk.in || die sed -i 's|$(INSTALL) -s snownews|$(INSTALL) snownews|' Makefile || die } |