sci-geosciences/mapserver: Apply php-ext-source-r3 changes to src_unpack
authorBrian Evans <grknight@gentoo.org>
Tue, 13 Mar 2018 00:29:26 +0000 (20:29 -0400)
committerBrian Evans <grknight@gentoo.org>
Thu, 22 Mar 2018 01:28:14 +0000 (21:28 -0400)
sci-geosciences/mapserver/mapserver-7.0.5.ebuild

index 69fae655f2c70cc015e1160a356137fc36b274fd..a412b4ed85eb252026ec11bc14e6bed981f12bd4 100644 (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
 }