summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2020-06-03 21:30:11 +0200
committerPatrice Clement <monsieurp@gentoo.org>2020-06-03 22:54:05 +0200
commit5f444e02e0e87bc2c27a67d986a1da06a428eba2 (patch)
tree2f9a4abe6c9f6e95db202d637146d3fa1d70aa2f /app-misc/sl
parentwww-client/links: replace echo for printf. (diff)
downloadgentoo-5f444e02e0e87bc2c27a67d986a1da06a428eba2.tar.gz
gentoo-5f444e02e0e87bc2c27a67d986a1da06a428eba2.tar.bz2
gentoo-5f444e02e0e87bc2c27a67d986a1da06a428eba2.zip
app-misc/sl: honor CC.
.. using the tc-getCC function. Whilst at it, honor CFLAGS. Closes: https://bugs.gentoo.org/722316 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-misc/sl')
-rw-r--r--app-misc/sl/sl-5.02.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/app-misc/sl/sl-5.02.ebuild b/app-misc/sl/sl-5.02.ebuild
index 5601461b679..74a22148b89 100644
--- a/app-misc/sl/sl-5.02.ebuild
+++ b/app-misc/sl/sl-5.02.ebuild
@@ -22,10 +22,14 @@ DOCS=( README.md )
src_prepare() {
default
sed \
- -e "s/-lncurses/$($(tc-getPKG_CONFIG) --libs ncurses)/" \
+ -e "s/-lncurses/$($(tc-getPKG_CONFIG) --libs ncurses)/" \
-i Makefile || die
}
+src_compile() {
+ emake CC=$(tc-getCC) CFLAGS="${CFLAGS}"
+}
+
src_install() {
dobin "${PN}"
doman "${PN}.1"