parent
3a9a40b53b
commit
b7ad0aa771
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'qt5'
|
# Template file for 'qt5'
|
||||||
pkgname=qt5
|
pkgname=qt5
|
||||||
version=5.6.0
|
version=5.6.0
|
||||||
revision=9
|
revision=10
|
||||||
wrksrc="qt-everywhere-opensource-src-${version}"
|
wrksrc="qt-everywhere-opensource-src-${version}"
|
||||||
homepage="http://qt.io/"
|
homepage="http://qt.io/"
|
||||||
short_desc="A cross-platform application and UI framework (QT5)"
|
short_desc="A cross-platform application and UI framework (QT5)"
|
||||||
|
@ -90,6 +90,10 @@ pre_configure() {
|
||||||
sed -i ${config} -e "s;HAVE_SYSCTL 1;HAVE_SYSCTL 0;"
|
sed -i ${config} -e "s;HAVE_SYSCTL 1;HAVE_SYSCTL 0;"
|
||||||
done
|
done
|
||||||
esac
|
esac
|
||||||
|
# qmake CFLAGS/LDFLAGS
|
||||||
|
sed -i -e '/outpath\/qmake\".*\"\$MAKE\")/s/)/ QMAKE_CFLAGS="$CFLAGS" QMAKE_CXXFLAGS="$CXXFLAGS" QMAKE_LFLAGS="$LDFLAGS" )/' \
|
||||||
|
-e 's/\(setBootstrapVariable\s\+\|EXTRA_C\(XX\)\?FLAGS=.*\)QMAKE_C\(XX\)\?FLAGS_\(DEBUG\|RELEASE\).*/:/' \
|
||||||
|
qtbase/configure
|
||||||
}
|
}
|
||||||
do_configure() {
|
do_configure() {
|
||||||
export LD="$CXX"
|
export LD="$CXX"
|
||||||
|
|
Loading…
Reference in a new issue