sci-geosciences/mapserver: Apply php-ext-source-r3 changes to src_unpack

This commit is contained in:
Brian Evans
2018-03-12 20:29:26 -04:00
parent 2c8e98a822
commit 34dc926aa3

View File

@@ -83,12 +83,10 @@ pkg_setup() {
}
src_unpack() {
# unpack A and then copy the php thingies into workdir/php-slot
php-ext-source-r3_src_unpack
# HACK: and then remove it and replace by symlink
default
# HACK: Make symlinks for php targets
local slot
for slot in $(php_get_slots); do
rm -rf "${WORKDIR}/${slot}" || die
ln -s "${PHP_EXT_S}" "${WORKDIR}/${slot}" || die
done
}