Commit 8015c184 authored by lovedheart's avatar lovedheart Committed by Ed Reel

Update perl_text_wrapi18n.rb (#1850)

add dependency  "perl_text_charwidth" and remove option "--self-contained"
parent cc0da4c8
...@@ -8,13 +8,14 @@ class Perl_text_wrapi18n < Package ...@@ -8,13 +8,14 @@ class Perl_text_wrapi18n < Package
source_sha256 '4bd29a17f0c2c792d12c1005b3c276f2ab0fae39c00859ae1741d7941846a488' source_sha256 '4bd29a17f0c2c792d12c1005b3c276f2ab0fae39c00859ae1741d7941846a488'
depends_on 'perl' depends_on 'perl'
depends_on 'perl_text_charwidth' # add dependency
def self.build def self.build
end end
def self.install def self.install
# install files to build directory # install files to build directory
system 'cpanm', '-l', "build", '--self-contained', '.' system 'cpanm', '-l', "build", '.' # remove --self-contained
# install lib # install lib
libdir = `perl -e 'require Config; print $Config::Config{'"'installsitelib'"'};'` libdir = `perl -e 'require Config; print $Config::Config{'"'installsitelib'"'};'`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment