summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libtermkey')
-rw-r--r--dev-libs/libtermkey/libtermkey-0.17.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/dev-libs/libtermkey/libtermkey-0.17.ebuild b/dev-libs/libtermkey/libtermkey-0.17.ebuild
index e5da7b2..a414847 100644
--- a/dev-libs/libtermkey/libtermkey-0.17.ebuild
+++ b/dev-libs/libtermkey/libtermkey-0.17.ebuild
@@ -14,8 +14,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="demos"
-RDEPEND="|| ( dev-libs/unibilium
- sys-libs/ncurses[unicode] )"
+RDEPEND="dev-libs/unibilium:="
DEPEND="${RDEPEND}
sys-devel/libtool
virtual/pkgconfig
@@ -23,12 +22,12 @@ DEPEND="${RDEPEND}
src_prepare() {
if ! use demos; then
- sed -e 's|all: $(LIBRARY) $(DEMOS)|all: $(LIBRARY)|' -i Makefile || die
+ sed -e '/^all:/s:$(DEMOS)::' -i Makefile || die
fi
}
src_compile() {
- emake PREFIX="${EPREFIX}/usr" all
+ emake PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" all
}
src_install() {