extra/webkit2gtk fix

This commit is contained in:
Kevin Mihelich 2016-10-13 02:11:22 +00:00
parent 052bff15bb
commit 62901ba7cd

View file

@ -41,12 +41,11 @@ build() {
# do not use LLINT assembly for v5/v6
[[ $CARCH == "arm" || $CARCH == "armv6h" ]] && CONFIG="-DENABLE_JIT=OFF"
[[ $CARCH == "aarch64" ]] && CONFIG="-DUSE_LD_GOLD=OFF"
cmake -DPORT=GTK -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=/usr/lib -DLIBEXEC_INSTALL_DIR=/usr/lib/webkit2gtk-4.0 \
-DENABLE_GTKDOC=ON -DPYTHON_EXECUTABLE=/usr/bin/python2 ../webkitgtk-$pkgver
-DENABLE_GTKDOC=ON -DPYTHON_EXECUTABLE=/usr/bin/python2 $CONFIG ../webkitgtk-$pkgver
# strip -O3 from cmake generated makefiles
find ./ -type f -exec sed -i -e 's/-O3//g' {} \;