From: "Fabian Groffen" <grobian@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libmissing/
Date: Mon, 19 Aug 2019 19:16:18 +0000 (UTC) [thread overview]
Message-ID: <1566242174.e4ffa7d21697f5a2c0396f0354761bdfa7fe6d38.grobian@gentoo> (raw)
commit: e4ffa7d21697f5a2c0396f0354761bdfa7fe6d38
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 19 19:15:52 2019 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Aug 19 19:16:14 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4ffa7d2
dev-libs/libmissing: allow reinstalling itself
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
.../{libmissing-1.0.0.ebuild => libmissing-1.0.0-r1.ebuild} | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/dev-libs/libmissing/libmissing-1.0.0.ebuild b/dev-libs/libmissing/libmissing-1.0.0-r1.ebuild
similarity index 88%
rename from dev-libs/libmissing/libmissing-1.0.0.ebuild
rename to dev-libs/libmissing/libmissing-1.0.0-r1.ebuild
index 270db24a778..c1371f6d4fa 100644
--- a/dev-libs/libmissing/libmissing-1.0.0.ebuild
+++ b/dev-libs/libmissing/libmissing-1.0.0-r1.ebuild
@@ -83,11 +83,12 @@ src_prepare() {
# get platform specific set of missing functions
einfo "Including sources for missing functions on ${platform}:"
einfo "${modules[*]}"
- "${S}"/gnulib-tool \
+ "${S}"/gnulib-tool -S \
--import \
--lib=libmissing \
--libtool \
--no-vc-files \
+ --no-cache-modules \
"${modules[@]}"
sed -i -e '/^noinst_LTLIBRARIES /s/noinst_/lib_/' lib/Makefile.am || die
@@ -95,8 +96,7 @@ src_prepare() {
cat >> lib/Makefile.am << 'EOS'
install-data-local: $(BUILT_SOURCES)
@for hdr in $(BUILT_SOURCES); do \
- $(mkinstalldirs) $(DESTDIR)$(includedir)/$${hdr%/*}; \
- $(INSTALL_HEADER) "$$hdr" $(DESTDIR)$(includedir)/$${hdr}; \
+ $(INSTALL_HEADER) -D "$$hdr" $(DESTDIR)$(includedir)/missing/$${hdr}; \
done;
EOS
@@ -105,6 +105,13 @@ EOS
src_configure() {
cd "${PN}" || die
+
+ # ensure we don't pick up installed libmissing
+ export CPPFLAGS="${CPPFLAGS/-I${EPREFIX}\/usr\/include\/missing/}"
+ export LIBS="${LIBS/-lmissing/}"
+ einfo "CPPFLAGS: ${CPPFLAGS}"
+ einfo "LIBS: ${LIBS}"
+
default
}
next reply other threads:[~2019-08-19 19:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-19 19:16 Fabian Groffen [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-12-23 8:35 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libmissing/ Fabian Groffen
2019-10-13 18:12 Fabian Groffen
2019-08-19 18:30 Fabian Groffen
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=1566242174.e4ffa7d21697f5a2c0396f0354761bdfa7fe6d38.grobian@gentoo \
--to=grobian@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