* [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/functions/src_compile/
@ 2012-11-30 20:02 Markos Chandras
0 siblings, 0 replies; 2+ messages in thread
From: Markos Chandras @ 2012-11-30 20:02 UTC (permalink / raw
To: gentoo-commits
commit: 6e448ccd647949774485572735ee5fca812c8fc6
Author: Markos Chandras <hwoarang <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 30 20:01:25 2012 +0000
Commit: Markos Chandras <hwoarang <AT> gentoo <DOT> org>
CommitDate: Fri Nov 30 20:01:25 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/devmanual.git;a=commit;h=6e448ccd
src_compile: Add note that flag-o-matic eclass is required
Fixes #387931 thanks to James Broadhead <jamesbroadhead <AT> gmail.com>
---
ebuild-writing/functions/src_compile/text.xml | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/ebuild-writing/functions/src_compile/text.xml b/ebuild-writing/functions/src_compile/text.xml
index 75c71de..0c86ba8 100644
--- a/ebuild-writing/functions/src_compile/text.xml
+++ b/ebuild-writing/functions/src_compile/text.xml
@@ -79,6 +79,9 @@ src_compile() {
emake || die "Make failed!"
}
</codesample>
+<note>
+You also need to inherit the <uri link="::eclass-reference/flag-o-matic.eclass/">flag-o-matic</uri> eclass in order to use the <c>append-ldflags</c> function.
+</note>
</body>
</subsection>
<subsection>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/functions/src_compile/
@ 2021-03-21 6:06 Ulrich Müller
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Müller @ 2021-03-21 6:06 UTC (permalink / raw
To: gentoo-commits
commit: bf9d2633458d7ff3c4b9bbbe9ba29fdeacd3750a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 20 09:22:25 2021 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Mar 21 06:06:13 2021 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=bf9d2633
ebuild-writing/functions/src_compile: sync with PMS (use Bash tests)
Signed-off-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
ebuild-writing/functions/src_compile/text.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ebuild-writing/functions/src_compile/text.xml b/ebuild-writing/functions/src_compile/text.xml
index 35f6285..37004c1 100644
--- a/ebuild-writing/functions/src_compile/text.xml
+++ b/ebuild-writing/functions/src_compile/text.xml
@@ -36,7 +36,7 @@
<li>
<codesample lang="ebuild">
src_compile() {
- if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
+ if [[ -f Makefile ]] || [[ -f GNUmakefile ]] || [[ -f makefile ]]; then
emake || die "emake failed"
fi
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-21 6:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-21 6:06 [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/functions/src_compile/ Ulrich Müller
-- strict thread matches above, loose matches on Subject: below --
2012-11-30 20:02 Markos Chandras
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox