summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-news/sfeed/sfeed-1.2.ebuild')
-rw-r--r--net-news/sfeed/sfeed-1.2.ebuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/net-news/sfeed/sfeed-1.2.ebuild b/net-news/sfeed/sfeed-1.2.ebuild
index d4f43e5c5c2b..f70410c8c920 100644
--- a/net-news/sfeed/sfeed-1.2.ebuild
+++ b/net-news/sfeed/sfeed-1.2.ebuild
@@ -25,16 +25,16 @@ RDEPEND="${DEPEND}
x11-misc/xdg-utils"
BDEPEND=""
+PATCHES=(
+ "${FILESDIR}/${PN}-1.2-ldflags.patch"
+)
+
src_compile() {
- if use ncurses; then
- emake \
- CC=$(tc-getCC) \
- LDFLAGS="$LDFLAGS -lcurses -ltinfo"
- else
- emake \
- CC=$(tc-getCC) \
- SFEED_CURSES=""
- fi
+ emake \
+ CC=$(tc-getCC) \
+ RANLIB=$(tc-getRANLIB) \
+ AR=$(tc-getAR) \
+ SFEED_CURSES=$(usex ncurses "sfeed_curses" "")
}
src_install() {