aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Burch <eli.burch@burchbytes.com>2024-06-22 08:20:26 -0700
committerEli Burch <eli.burch@burchbytes.com>2024-06-22 08:21:18 -0700
commit8d028722192c1fcd7399c0ec5a704fa76e5063d6 (patch)
treea34f60bd9d338941574124c7d1189f396719f1fd /net-news
parentdev-ruby/asciidoctor-pdf: drop 2.3.15 (diff)
downloadguru-8d028722192c1fcd7399c0ec5a704fa76e5063d6.tar.gz
guru-8d028722192c1fcd7399c0ec5a704fa76e5063d6.tar.bz2
guru-8d028722192c1fcd7399c0ec5a704fa76e5063d6.zip
net-news/newsraft: Drop patch, call emake directly
Signed-off-by: Eli Burch <eli.burch@burchbytes.com>
Diffstat (limited to 'net-news')
-rw-r--r--net-news/newsraft/newsraft-0.25.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/net-news/newsraft/newsraft-0.25.ebuild b/net-news/newsraft/newsraft-0.25.ebuild
index 48c8f80e0..8011629b0 100644
--- a/net-news/newsraft/newsraft-0.25.ebuild
+++ b/net-news/newsraft/newsraft-0.25.ebuild
@@ -3,6 +3,8 @@
EAPI=8
+inherit toolchain-funcs
+
DESCRIPTION="A lightweight feed reader with ncurses user interface inspired by Newsboat."
HOMEPAGE="https://codeberg.org/newsraft/newsraft"
@@ -32,9 +34,9 @@ BDEPEND="
virtual/pkgconfig
"
-PATCHES=(
- "${FILESDIR}/newsraft-0.25-hardcoded-CFLAGS-LDFLAGS.patch"
-)
+src_compile(){
+ emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}"
+}
src_install() {
emake PREFIX="/usr" DESTDIR="${D}" install