xbps-src: make sure that wrksrc is expanded after reading build-options.
This commit is contained in:
parent
1041068b76
commit
f6f59dec8b
1 changed files with 7 additions and 7 deletions
|
@ -309,13 +309,6 @@ setup_pkg() {
|
|||
fi
|
||||
fi
|
||||
|
||||
# Setup some specific package vars.
|
||||
if [ -z "$wrksrc" ]; then
|
||||
wrksrc="$XBPS_BUILDDIR/${sourcepkg}-${version}"
|
||||
else
|
||||
wrksrc="$XBPS_BUILDDIR/$wrksrc"
|
||||
fi
|
||||
|
||||
FILESDIR=$XBPS_SRCPKGDIR/$sourcepkg/files
|
||||
PATCHESDIR=$XBPS_SRCPKGDIR/$sourcepkg/patches
|
||||
DESTDIR=$XBPS_DESTDIR/$XBPS_CROSS_TRIPLET/${sourcepkg}-${version}
|
||||
|
@ -378,6 +371,13 @@ setup_pkg() {
|
|||
|
||||
set_build_options
|
||||
|
||||
# Setup some specific package vars.
|
||||
if [ -z "$wrksrc" ]; then
|
||||
wrksrc="$XBPS_BUILDDIR/${sourcepkg}-${version}"
|
||||
else
|
||||
wrksrc="$XBPS_BUILDDIR/$wrksrc"
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
setup_pkg_depends() {
|
||||
|
|
Loading…
Reference in a new issue