diff options
author | Erich Eckner <git@eckner.net> | 2017-06-07 13:19:22 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-06-07 13:19:22 +0200 |
commit | 5a9a3821f00495b5c678dd9b25dbef837545d79f (patch) | |
tree | 1371745e26fa8d21286b7270c6fd54f5f13302a0 | |
parent | 52eca604ea777ae322167e3a2192bd203beb1de0 (diff) | |
download | archlinuxewe-5a9a3821f00495b5c678dd9b25dbef837545d79f.tar.xz |
perl-data-alias: bugfix
-rw-r--r-- | perl-data-alias/PKGBUILD | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/perl-data-alias/PKGBUILD b/perl-data-alias/PKGBUILD index 6a13f6cfe..7ea7d3c55 100644 --- a/perl-data-alias/PKGBUILD +++ b/perl-data-alias/PKGBUILD @@ -27,7 +27,13 @@ _distdir="${_perlmod}-${pkgver}" source=("http://search.cpan.org/CPAN/authors/id/$_author/${_distdir}.tar.gz") noextract=() -build(){ +prepare() { + cd "$srcdir/${_distdir}" + + sed -i 's|\([a-zA-Z]\+\)->op_sibling|OpSIBLING(\1)|' *.xs +} + +build() { cd "$srcdir/${_distdir}" # Setting these env variables overwrites any command-line-options we don't want... |