Skip to content

Commit

Permalink
dev-qt/qtwebsockets: USE=ssl must be in sync with the same flag in qt…
Browse files Browse the repository at this point in the history
…network

Amends commit af3eca3.

Gentoo-Bug: 581964
Package-Manager: portage-2.2.28
  • Loading branch information
Pesa committed May 3, 2016
1 parent 22b4d5b commit d7ad552
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ IUSE="qml +ssl"

DEPEND="
~dev-qt/qtcore-${PV}
~dev-qt/qtnetwork-${PV}[ssl?]
~dev-qt/qtnetwork-${PV}[ssl=]
qml? ( ~dev-qt/qtdeclarative-${PV} )
"
Expand All @@ -24,10 +24,5 @@ RDEPEND="${DEPEND}"
src_prepare() {
qt_use_disable_mod qml quick src/src.pro

if ! use ssl; then
sed -i -e '/contains(QT_CONFIG.*ssl)/ c\false{' \
src/websockets/websockets.pro || die
fi

qt5-build_src_prepare
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ IUSE="qml +ssl"

DEPEND="
~dev-qt/qtcore-${PV}
~dev-qt/qtnetwork-${PV}[ssl?]
~dev-qt/qtnetwork-${PV}[ssl=]
qml? ( ~dev-qt/qtdeclarative-${PV} )
"
Expand All @@ -24,10 +24,5 @@ RDEPEND="${DEPEND}"
src_prepare() {
qt_use_disable_mod qml quick src/src.pro

if ! use ssl; then
sed -i -e '/contains(QT_CONFIG.*ssl)/ c\false{' \
src/websockets/websockets.pro || die
fi

qt5-build_src_prepare
}

0 comments on commit d7ad552

Please sign in to comment.