summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorbartus2018-11-07 16:14:18 +0100
committerbartus2018-11-07 16:14:18 +0100
commit6d6692069eb09e80a51f41156f8ea3c38b42966c (patch)
tree46d1d49215ffeb66fa27be73e5b7214ac6560346 /PKGBUILD
parent65635c8ff9313d739d5f0b9c7546c4be3916f6f7 (diff)
downloadaur-luxrender-hg.tar.gz
fix embree-bvh_build-git rpath
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 381261cd9f4f..63d38337583f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,11 +22,13 @@ source=('lux::hg+https://bitbucket.org/luxrender/lux#branch=default'
'boost-15500.patch'
'luxrender-gcc7.patch'
'gcc-8.patch'
+ 'rpath.patch'
'force_python3.diff')
md5sums=('SKIP'
'b9e5c442093e69485752e6395c931b27'
'fa680b0d621b42c8e7440056bf26ec1c'
'6b71588b2c3e05c8f5ddbac824a39530'
+ '53a4c379728906abb0d56ddf7152955e'
'42692e65eabc5828693e2682e94b7c64')
pkgver() {
@@ -55,6 +57,9 @@ prepare() {
# fix unambiguous 'PyContext' both in python3.7 and lux::
sed -i 's/\&PyContext/\&lux::PyContext/g' python/pycontext.h
sed -i 's/class_<PyContext/class_<lux::PyContext/' python/pycontext.h
+
+ # fix embree2.so(embree-bvh_build-git) rpath
+ patch -Np1 -i ${srcdir}/rpath.patch
}
build() {