summaryrefslogtreecommitdiff
path: root/community/root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/root/PKGBUILD')
-rw-r--r--community/root/PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/community/root/PKGBUILD b/community/root/PKGBUILD
index 643c7b379..05d858e2c 100644
--- a/community/root/PKGBUILD
+++ b/community/root/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=root
pkgver=5.30.00
-pkgrel=2
+pkgrel=3
pkgdesc='C++ data analysis framework and interpreter from CERN.'
arch=('i686' 'x86_64')
url='http://root.cern.ch'
@@ -40,7 +40,12 @@ build() {
# python2 switch
find . -type f -exec sed -i -e 's/python -O/python2 -O/g' -e 's/python -c/python2 -c/g' {} \;
- sed -i 's/python 2/python2 2/g' configure
+ sed \
+ -e 's/python 2/python2 2/g' \
+ -i configure
+ sed \
+ -e 's/python $(pkgpyexecdir)/python2 $(pkgpyexecdir)/g' \
+ -i cint/reflex/python/genreflex/Makefile.am
./configure \
${TARGET} \