perl: unset global vars after use; fix shlib perms.
This commit is contained in:
parent
d616bd3a6a
commit
720d6fff19
@ -153,6 +153,7 @@ for _f in ${_provides}; do
|
|||||||
provides="${provides} ${_f}"
|
provides="${provides} ${_f}"
|
||||||
replaces="${replaces} ${_p}>=0"
|
replaces="${replaces} ${_p}>=0"
|
||||||
done
|
done
|
||||||
|
unset _f _p _provides
|
||||||
|
|
||||||
if [ "$XBPS_CROSS_BUILD" ]; then
|
if [ "$XBPS_CROSS_BUILD" ]; then
|
||||||
hostmakedepends="${hostmakedepends} perl>=${version}"
|
hostmakedepends="${hostmakedepends} perl>=${version}"
|
||||||
@ -238,6 +239,9 @@ do_install() {
|
|||||||
make DESTDIR=${DESTDIR} install
|
make DESTDIR=${DESTDIR} install
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Set proper perms to shared libs.
|
||||||
|
find ${DESTDIR} -type f -name \*.so -exec chmod 644 {} \;
|
||||||
|
|
||||||
# Make a link from perl${version} to perl.
|
# Make a link from perl${version} to perl.
|
||||||
cd ${DESTDIR}/usr/bin && ln -sf perl${version} perl
|
cd ${DESTDIR}/usr/bin && ln -sf perl${version} perl
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user