mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
dev-cpp/drogon: Depend on trantor[adns].
Closes: https://bugs.gentoo.org/820215 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
@@ -15,8 +15,10 @@ KEYWORDS="~amd64"
|
||||
IUSE="+brotli doc examples mariadb postgres redis sqlite +ssl test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# NOTE: The trantor[adns] dependency should not be needed,
|
||||
# see <https://github.com/drogonframework/drogon/issues/1058>
|
||||
RDEPEND="
|
||||
>=dev-cpp/trantor-1.5.2
|
||||
>=dev-cpp/trantor-1.5.2[adns]
|
||||
dev-libs/jsoncpp
|
||||
sys-libs/zlib
|
||||
brotli? ( app-arch/brotli )
|
||||
@@ -35,7 +37,7 @@ BDEPEND="doc? ( app-doc/doxygen )"
|
||||
DOCS=( CONTRIBUTING.md ChangeLog.md README.md README.zh-CN.md README.zh-TW.md )
|
||||
|
||||
src_prepare() {
|
||||
sed -i '/add_subdirectory(trantor)/d' CMakeLists.txt || die
|
||||
cmake_comment_add_subdirectory "trantor"
|
||||
sed -i '/${PROJECT_SOURCE_DIR}\/trantor\/trantor\/tests\/server.pem/d' \
|
||||
lib/tests/CMakeLists.txt || die
|
||||
use ssl || sed -i '/find_package(OpenSSL)/d' CMakeLists.txt || die
|
||||
|
||||
Reference in New Issue
Block a user