Make it possible to install 'custom-install' pkgs without distfiles.
Make xbps-base-{chroot,system} install the lib -> lib64 symlinks on
x86_64.
--HG--
extra : convert_revision : 9404d50c8a15dcd700df49aace1bbd105749f00a
This commit is contained in:
@@ -106,6 +106,7 @@ setup_tmpl()
|
||||
#
|
||||
prepare_tmpl()
|
||||
{
|
||||
local REQ_VARS=
|
||||
local i=
|
||||
local found=
|
||||
|
||||
@@ -114,7 +115,11 @@ prepare_tmpl()
|
||||
#
|
||||
[ "$build_style" = "meta-template" ] && return 0
|
||||
|
||||
REQ_VARS="pkgname distfiles version build_style"
|
||||
if [ "$build_style" = "custom-install" -a -z "$distfiles" ]; then
|
||||
mkdir -p $XBPS_BUILDDIR/$pkgname-$version
|
||||
fi
|
||||
|
||||
REQ_VARS="pkgname version build_style short_desc long_desc"
|
||||
|
||||
# Check if required vars weren't set.
|
||||
for i in ${REQ_VARS}; do
|
||||
|
||||
Reference in New Issue
Block a user