Last active
June 11, 2025 14:15
-
-
Save jperkin/18ad8ec7a98af253d30053d625a5da75 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lang/pear/distinfo b/lang/pear/distinfo | |
index c64ae88672ca..a568f9a492b7 100644 | |
--- a/lang/pear/distinfo | |
+++ b/lang/pear/distinfo | |
@@ -3,5 +3,5 @@ $NetBSD: distinfo,v 1.51 2025/02/08 03:24:29 taca Exp $ | |
BLAKE2s (pearweb_phars-1.10.24.tgz) = 6e6b480f76485871130f8a6974808f96957a8506feaa64e8435c3406d44f5c19 | |
SHA512 (pearweb_phars-1.10.24.tgz) = 64b81b84b815f46cabebd5bba57ce67e86fbec9208e19438997e70dde9fdeaab5f517d2fb92889954f51040627f3188e9a37d86fa796dd51c65d38d804309cc5 | |
Size (pearweb_phars-1.10.24.tgz) = 1205796 bytes | |
-SHA1 (patch-src_PEAR_Start.php) = 0c5df7164aa1c92063580565781c5af95e8b0867 | |
+SHA1 (patch-src_PEAR_Start.php) = d8038a23e5250e8b2c0a022ba5e8adfd73d1fcd7 | |
SHA1 (patch-src_PEAR_Start_CLI.php) = 8dbd68bde4cea2c7688a4dc0e650cff8ccdeda4c | |
diff --git a/lang/pear/patches/patch-src_PEAR_Start.php b/lang/pear/patches/patch-src_PEAR_Start.php | |
index a6a3f5f62b06..bc2392cc8f72 100644 | |
--- a/lang/pear/patches/patch-src_PEAR_Start.php | |
+++ b/lang/pear/patches/patch-src_PEAR_Start.php | |
@@ -2,7 +2,7 @@ $NetBSD$ | |
Use pkgsrc layout. | |
---- src/PEAR/Start.php.orig 2025-06-09 17:39:45.257626083 +0000 | |
+--- src/PEAR/Start.php.orig 2025-06-11 14:08:51.952589560 +0000 | |
+++ src/PEAR/Start.php | |
@@ -6,6 +6,7 @@ require_once 'phar://go-pear.phar/' . 'P | |
require_once 'phar://go-pear.phar/' . 'PEAR/Common.php'; | |
@@ -64,3 +64,12 @@ Use pkgsrc layout. | |
'nodeps' => true, | |
'force' => true, | |
'upgrade' => true, | |
+@@ -355,7 +343,7 @@ class PEAR_Start extends PEAR | |
+ } | |
+ | |
+ foreach ($this->config as $var) { | |
+- $dir = $this->$var; | |
++ $dir = ($this->destdir ? $this->destdir : '').$this->$var; | |
+ | |
+ if (!preg_match('/_dir\\z/', $var)) { | |
+ continue; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment