summaryrefslogtreecommitdiff
path: root/perl-data-alias/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-07 13:19:22 +0200
committerErich Eckner <git@eckner.net>2017-06-07 13:19:22 +0200
commit5a9a3821f00495b5c678dd9b25dbef837545d79f (patch)
tree1371745e26fa8d21286b7270c6fd54f5f13302a0 /perl-data-alias/PKGBUILD
parent52eca604ea777ae322167e3a2192bd203beb1de0 (diff)
downloadarchlinuxewe-5a9a3821f00495b5c678dd9b25dbef837545d79f.tar.xz
perl-data-alias: bugfix
Diffstat (limited to 'perl-data-alias/PKGBUILD')
-rw-r--r--perl-data-alias/PKGBUILD8
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...