[arch-commits] Commit in opencascade/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Tue Dec 8 10:37:45 UTC 2015
Date: Tuesday, December 8, 2015 @ 11:37:45
Author: foutrelis
Revision: 150235
Fix build with vtk 6.3.0
Modified:
opencascade/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-12-08 10:37:45 UTC (rev 150234)
+++ PKGBUILD 2015-12-08 10:37:45 UTC (rev 150235)
@@ -17,12 +17,24 @@
'd9368b8d348ced3ec4462012977552d2'
'2924ecf57c95d25888f51071fdc72ad0')
-build() {
+prepare() {
cd "$srcdir/$pkgname-$pkgver"
+ # fix build with vtk 6.3.0
+ sed -i '/CSF_VTK_LIB/s/-6\.1//g' configure.ac
+
# fix for automake 1.13
sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac
+
./build_configure
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # fix build with vtk 6.3.0
+ CXXFLAGS+=' -DvtkFloatingPointType=double'
+
./configure --disable-debug --enable-production \
--with-java-include=/usr/lib/jvm/default/include \
--with-vtk-library=/usr/lib/ --with-vtk-include=/usr/include/vtk/ \
More information about the arch-commits
mailing list