From: Thomas Sachau <tommy@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: Proposed change to base.eclass: EAPI-2 support
Date: Wed, 05 Nov 2008 19:26:21 +0100 [thread overview]
Message-ID: <4911E54D.6090008@gentoo.org> (raw)
In-Reply-To: <200811032053.59249.loki_val@gentoo.org>
[-- Attachment #1: Type: text/plain, Size: 1172 bytes --]
Peter Alfredsen schrieb:
> On Monday 03 November 2008, Steve Long wrote:
>> Peter Alfredsen wrote:
>>> debug-print-function $FUNCNAME $*
>> You should be using "$@" not unquoted $*.
>
> Fixed. Also fixed base_src_unpack and base_src_compile calling their
> grunt functions with $1, when clearly it should have been $@.
>
>> Seems like the FUNCNAME bit should just be rolled into the function
>> with "${FUNCNAME[1]}" which could be done tree-wide quite easily.
>
> I guess that function was written before bash-3 when FUNCNAME was turned
> into an array.
>
>
>
You should at least use emake instead of make in src_install. And i would suggest to use something
like this instead of the make install line (maybe add some other default docs, if they are common):
if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
emake DESTDIR="${D}" install || die "emake install failed"
fi
if [ -n "${DOCS}" ]; then
dodoc ${DOCS} || die "dodoc failed"
else
for x in AUTHORS ChangeLog NEWS README; do
if [ -e ${x} ]; then
dodoc ${x} || die "dodoc ${x} failed"
fi
done
fi
--
Thomas Sachau
Gentoo Linux Developer
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 315 bytes --]
next prev parent reply other threads:[~2008-11-05 18:26 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-02 22:08 [gentoo-dev] Proposed change to base.eclass: EAPI-2 support Peter Alfredsen
2008-11-02 22:23 ` Peter Alfredsen
2008-11-03 4:49 ` Donnie Berkholz
2008-11-03 4:51 ` Donnie Berkholz
2008-11-03 6:00 ` Peter Alfredsen
2008-11-03 8:29 ` [gentoo-dev] " Steve Long
2008-11-03 19:53 ` Peter Alfredsen
2008-11-05 18:26 ` Thomas Sachau [this message]
2008-11-05 18:45 ` Peter Alfredsen
2008-11-05 20:20 ` Thomas Sachau
2008-11-05 20:54 ` Ciaran McCreesh
2008-11-05 23:06 ` Thomas Anderson
2008-11-06 1:27 ` Thomas Rösner
2008-11-06 13:41 ` Duncan
2008-11-06 3:07 ` Javier Villavicencio
2008-11-09 15:47 ` [gentoo-dev] " Peter Alfredsen
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=4911E54D.6090008@gentoo.org \
--to=tommy@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