depends vs. makedepends (was: Re: http://bugs.archlinux.org/task/14873)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux