fixes the config so cpan works on install. (#789)
* fixes the config so cpan works on install. * fix so it actually works..
This commit is contained in:
parent
2f00a6d990
commit
a7d4cb0351
@ -9,7 +9,7 @@ TERMUX_MAKE_PROCESSES=1
|
||||
TERMUX_PKG_RM_AFTER_INSTALL="bin/perl${TERMUX_PKG_VERSION}"
|
||||
TERMUX_PKG_BUILD_IN_SRC="yes"
|
||||
TERMUX_PKG_NO_DEVELSPLIT=yes
|
||||
|
||||
TERMUX_PKG_REVISION=1
|
||||
termux_step_post_extract_package () {
|
||||
# This port uses perl-cross: http://arsv.github.io/perl-cross/
|
||||
local PERLCROSS_VERSION=1.1.3
|
||||
@ -77,4 +77,9 @@ termux_step_post_make_install () {
|
||||
|
||||
cd $TERMUX_PREFIX/include
|
||||
ln -f -s ../lib/perl5/${TERMUX_PKG_VERSION}/${TERMUX_ARCH}-android/CORE perl
|
||||
cd ../lib/perl5/${TERMUX_PKG_VERSION}/${TERMUX_ARCH}-android/
|
||||
chmod +w Config_heavy.pl
|
||||
sed 's',"--sysroot=$TERMUX_STANDALONE_TOOLCHAIN"/sysroot,"-I/data/data/com.termux/files/usr/include",'g' Config_heavy.pl > Config_heavy.pl.new
|
||||
sed 's',"$TERMUX_STANDALONE_TOOLCHAIN"/sysroot,"-I/data/data/com.termux/files",'g' Config_heavy.pl.new > Config_heavy.pl
|
||||
rm Config_heavy.pl.new
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user