dev-php/phpunit: Change absolute symlinks into relative ones
authorBrian Evans <grknight@gentoo.org>
Thu, 10 Aug 2017 18:58:41 +0000 (14:58 -0400)
committerBrian Evans <grknight@gentoo.org>
Thu, 10 Aug 2017 19:01:15 +0000 (15:01 -0400)
Package-Manager: Portage-2.3.6, Repoman-2.3.3

dev-php/phpunit/phpunit-3.7.20.ebuild
dev-php/phpunit/phpunit-4.3.1.ebuild
dev-php/phpunit/phpunit-5.0.10.ebuild
dev-php/phpunit/phpunit-5.7.15-r1.ebuild

index 99df1f6f65a46dec80fbd4fc872928fe51271af0..382ae095598f522dc417d7f4c108f0304dcb2943 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -28,7 +28,7 @@ src_install() {
        insinto /usr/share/php/phpunit
        insopts -m755
        newins "${DISTDIR}"/${PHPUNIT_PHAR} phpunit.phar
-       dosym /usr/share/php/phpunit/phpunit.phar /usr/bin/phpunit
+       dosym ../share/php/phpunit/phpunit.phar /usr/bin/phpunit
 }
 
 pkg_postinst() {
index 81591825c533b2ff713bd051dde7621c755aee2a..24edcb1da974d83822a7af4593eac128467736c3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -28,7 +28,7 @@ src_install() {
        insinto /usr/share/php/phpunit
        insopts -m755
        newins "${DISTDIR}"/${PHPUNIT_PHAR} phpunit.phar
-       dosym /usr/share/php/phpunit/phpunit.phar /usr/bin/phpunit
+       dosym ../share/php/phpunit/phpunit.phar /usr/bin/phpunit
 }
 
 pkg_postinst() {
index 17056cf40f75e42f6b0caca7bdb0ca6b115a6acc..46336b4d6db3edd3511c33d939cc336998af29d3 100644 (file)
@@ -32,7 +32,7 @@ src_install() {
        insinto /usr/share/php/phpunit
        insopts -m755
        newins "${DISTDIR}"/${PHPUNIT_PHAR} phpunit.phar
-       dosym /usr/share/php/phpunit/phpunit.phar /usr/bin/phpunit
+       dosym ../share/php/phpunit/phpunit.phar /usr/bin/phpunit
 }
 
 pkg_postinst() {
index d33644478dd1af09fa1d15cd1c070c0379ffb0a7..3c37874521a1de65387518e07b27a27f2a597630 100644 (file)
@@ -46,7 +46,7 @@ src_install() {
        doins "${FILESDIR}/autoload.php"
        exeinto /usr/share/php/PHPUnit
        doexe phpunit
-       dosym /usr/share/php/PHPUnit/phpunit /usr/bin/phpunit
+       dosym ../share/php/PHPUnit/phpunit /usr/bin/phpunit
 }
 
 pkg_postinst() {