summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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...