public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/funtools/
Date: Sun, 11 Aug 2024 18:41:12 +0000 (UTC)	[thread overview]
Message-ID: <1723401662.6bdac1509dc3d76a5f3f1742c34bab60bbaf10cf.arthurzam@gentoo> (raw)

commit:     6bdac1509dc3d76a5f3f1742c34bab60bbaf10cf
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 11 18:38:02 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 11 18:41:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bdac150

sci-astronomy/funtools: fix direct CC, missing LDFLAGS, bad docs

Closes: https://bugs.gentoo.org/930757
Closes: https://bugs.gentoo.org/930760
Closes: https://bugs.gentoo.org/930759
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 .../funtools/{funtools-1.4.8.ebuild => funtools-1.4.8-r1.ebuild}   | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sci-astronomy/funtools/funtools-1.4.8.ebuild b/sci-astronomy/funtools/funtools-1.4.8-r1.ebuild
similarity index 91%
rename from sci-astronomy/funtools/funtools-1.4.8.ebuild
rename to sci-astronomy/funtools/funtools-1.4.8-r1.ebuild
index c7ba18476c52..ae1f275205f0 100644
--- a/sci-astronomy/funtools/funtools-1.4.8.ebuild
+++ b/sci-astronomy/funtools/funtools-1.4.8-r1.ebuild
@@ -16,7 +16,7 @@ IUSE="doc static-libs"
 
 RDEPEND="
 	dev-lang/tcl:0=
-	sci-astronomy/wcstools:0=
+	sci-astronomy/wcstools
 	sci-visualization/gnuplot
 	sys-libs/zlib:0=
 "
@@ -31,6 +31,7 @@ src_prepare() {
 		-e '/^SUBLIBS/s|wcs||g' \
 		-e 's/mkdir/mkdir -p/g' \
 		-e '/mklib/s|-o $(PACKAGE)|-o $(PACKAGE) $(LIBS)|g' \
+		-e 's|./mklib|& -linker "$(CC)" -ldflags "$(LDFLAGS)"|' \
 		-e "s| ar| $(tc-getAR)|g" \
 		-e "s|ar cruv|$(tc-getAR) cruv|g" \
 		-e "s|WCS_INC.*=.*|WCS_INC = $($(tc-getPKG_CONFIG) --cflags wcstools)|g" \
@@ -71,11 +72,11 @@ src_install() {
 		|| die
 
 	if use doc; then
-		dodoc doc/*.pdf doc/*html doc/*c \
+		dodoc doc/*.pdf doc/*html doc/*c
 		docompress -x /usr/share/doc/${PF}/*.c
 	fi
 
 	if ! use static-libs; then
-		find "${ED}" -name "*.a" -delete || die
+		find "${ED}" -name "*.a" -type f -delete || die
 	fi
 }


             reply	other threads:[~2024-08-11 18:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-11 18:41 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-21 11:11 [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/funtools/ Arthur Zamarin
2024-04-26 19:33 Arthur Zamarin
2016-12-19 23:51 Sebastien Fabbro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1723401662.6bdac1509dc3d76a5f3f1742c34bab60bbaf10cf.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox