perl: fix default libpath
Makes it easier to install cpan modules
This commit is contained in:
parent
a79eef0a71
commit
eb5f59aa0e
@ -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
|
||||
|
11
packages/perl/cnf-configure_path.sh.patch
Normal file
11
packages/perl/cnf-configure_path.sh.patch
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user