[arch-general] depends vs. makedepends (was: Re: http://bugs.archlinux.org/task/14873)
Magnus Therning
magnus at therning.org
Sat May 30 06:15:17 EDT 2009
Allan McRae wrote:
> Magnus Therning wrote:
>> Allan McRae wrote:
>> [..]
>>
>>> As a general rule, you never should use $startdir in a PKGBUILD.
>>
>> Is that written down somewhere? It'd be nice to have a place to refer
>> to when arguing some changes to PKGBUILDs.
>
> man PKGBUILD:
> startdir was most often used in combination with /src or
> /pkg postfixes, but use of the srcdir and pkgdir variables is
> preferred.
>
> The wording has been made even stronger about not using $startdir for
> the next pacman release.
Ah, excellent, I wasn't aware of the existence of that man-page.
Another thing that I've been wondering about is the relationship between
'depends' and 'makedepends'. The description in the man-page is fairly clear,
but just to check I'm wondering if it's correct to say that
1. a dependency should _never_ be mentioned in both 'depends' and 'makedepends'?
2. the packages required to build a package is the union of 'depends' and
'makedepends'?
/M
--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://www.archlinux.org/pipermail/arch-general/attachments/20090530/0615dc44/attachment.pgp>
More information about the arch-general
mailing list