summaryrefslogtreecommitdiffstats
path: root/package/libtirpc/0003-Add-rpcgen-program-from-nfs-utils-sources.patch
diff options
context:
space:
mode:
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2018-05-23 11:01:08 +0200
committerPeter Korsgaard <peter@korsgaard.com>2018-05-27 15:13:01 +0200
commit775929c988db0197363a3c6f693fc3928bdb43de (patch)
treea0b1e605a05d1a3dc770fb404d35b0e2f724de7c /package/libtirpc/0003-Add-rpcgen-program-from-nfs-utils-sources.patch
parent9ee9adc747762347fe9e17d544bc5bc7b032e24c (diff)
downloadbuildroot-775929c988db0197363a3c6f693fc3928bdb43de.tar.gz
buildroot-775929c988db0197363a3c6f693fc3928bdb43de.zip
pkg-generic: error out with 'local' site method and no _SITE
The 'local' site method is easily confused with the 'file' site method, making people create packages like this: FOO_SITE_METHOD = local FOO_SOURCE = foo.tar.gz $(eval $(generic-package)) Due to the intricacies of the generic package infra, this does not cause an error; instead, the foo.tar.gz tarball that happens to be present in the download directory will be used. This behaviour differs greatly from what is specified in the manual. Instead, error out immediately if a package specifies the 'local' site method but does not specify a _SITE. We check for _OVERRIDE_SRCDIR rather than checking for _SITE, just after _OVERRIDE_SRCDIR has been set to _SITE. Indeed, a package that sets _OVERRIDE_SRCDIR but not _SITE currently works correctly. There is no reason to make it fail. See also https://stackoverflow.com/questions/50364655/including-patches-to-build-root Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/libtirpc/0003-Add-rpcgen-program-from-nfs-utils-sources.patch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud