perl: fix default libpath

Makes it easier to install cpan modules
This commit is contained in:
Henrik Grimler 2019-05-17 21:42:07 +02:00
parent a79eef0a71
commit eb5f59aa0e
2 changed files with 12 additions and 1 deletions

View File

@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Capable, feature-rich programming language"
TERMUX_PKG_LICENSE="Artistic-License-2.0"
TERMUX_PKG_VERSION=(5.28.2
1.2.3)
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SHA256=(aa95456dddb3eb1cc5475fed4e08f91876bea71fb636fba6399054dfbabed6c7
84583a1bb5f3a2c64d13d031386c114382e5c62955c6f84a27cec8318536627c)
TERMUX_PKG_SRCURL=(http://www.cpan.org/src/5.0/perl-${TERMUX_PKG_VERSION}.tar.gz

View File

@ -0,0 +1,11 @@
--- ../configure_path.sh.orig 2019-05-17 19:33:29.839841883 +0200
+++ ./cnf/configure_path.sh 2019-05-17 19:33:56.726506709 +0200
@@ -108,7 +108,7 @@
define privlibexp "$privlib"
define binexp "$bin"
-define libpth "/lib /usr/lib /usr/local/lib"
+define libpth "@TERMUX_PREFIX@/lib @TERMUX_PREFIX@/local/lib"
define glibpth "$libpth"
define plibpth