diff options
author | Akinori Hattori <hattya@gentoo.org> | 2024-11-16 22:53:57 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2024-11-16 23:01:30 +0900 |
commit | 682558ec1532a39401d0f08b508bf9712194d10c (patch) | |
tree | 8ca7e2957c63a70e598c829465d4de3b3046144f /www-servers | |
parent | www-servers/h2o: update USE_RUBY (diff) | |
download | gentoo-682558ec1532a39401d0f08b508bf9712194d10c.tar.gz gentoo-682558ec1532a39401d0f08b508bf9712194d10c.tar.bz2 gentoo-682558ec1532a39401d0f08b508bf9712194d10c.zip |
www-servers/h2o: tidy
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/h2o/files/h2o-2.3-mruby.patch | 4 | ||||
-rw-r--r-- | www-servers/h2o/h2o-9999.ebuild | 7 |
2 files changed, 5 insertions, 6 deletions
diff --git a/www-servers/h2o/files/h2o-2.3-mruby.patch b/www-servers/h2o/files/h2o-2.3-mruby.patch index 353af46a3af7..a0e9f12b935b 100644 --- a/www-servers/h2o/files/h2o-2.3-mruby.patch +++ b/www-servers/h2o/files/h2o-2.3-mruby.patch @@ -7,7 +7,7 @@ +IF (PKG_CONFIG_FOUND) + PKG_CHECK_MODULES(ONIG onigmo) + IF (NOT ONIG_FOUND) -+ PKG_CHECK_MODULES(ONIG oniguruma) ++ PKG_CHECK_MODULES(ONIG oniguruma) + ENDIF (NOT ONIG_FOUND) + IF (ONIG_FOUND) + LINK_DIRECTORIES(${ONIG_LIBRARY_DIRS}) @@ -25,7 +25,7 @@ # deps/mruby/tasks/toolchains/clang.rake looks for CC, CXX and LD. # There are no C++ files in deps/mruby, use the C compiler for linking. - MRUBY_TOOLCHAIN=${MRUBY_TOOLCHAIN} CC=${CMAKE_C_COMPILER} CXX=${CMAKE_CXX_COMPILER} LD=${CMAKE_C_COMPILER} MRUBY_CONFIG=${CMAKE_CURRENT_SOURCE_DIR}/misc/mruby_config.rb MRUBY_BUILD_DIR=${CMAKE_CURRENT_BINARY_DIR}/mruby MRUBY_ADDITIONAL_CONFIG=${MRUBY_ADDITIONAL_CONFIG} INSTALL_DIR=${CMAKE_CURRENT_BINARY_DIR}/mruby-bin ruby minirake -+ MRUBY_TOOLCHAIN=${MRUBY_TOOLCHAIN} CC=${CMAKE_C_COMPILER} CXX=${CMAKE_CXX_COMPILER} LD=${CMAKE_C_COMPILER} MRUBY_CONFIG=${CMAKE_CURRENT_SOURCE_DIR}/misc/mruby_config.rb MRUBY_BUILD_DIR=${CMAKE_CURRENT_BINARY_DIR}/mruby MRUBY_ADDITIONAL_CONFIG=${MRUBY_ADDITIONAL_CONFIG} INSTALL_DIR=${CMAKE_CURRENT_BINARY_DIR}/mruby-bin ruby minirake -v ++ MRUBY_TOOLCHAIN=${MRUBY_TOOLCHAIN} CC=${CMAKE_C_COMPILER} CXX=${CMAKE_CXX_COMPILER} LD=${CMAKE_C_COMPILER} MRUBY_CONFIG=${CMAKE_CURRENT_SOURCE_DIR}/misc/mruby_config.rb MRUBY_BUILD_DIR=${CMAKE_CURRENT_BINARY_DIR}/mruby MRUBY_ADDITIONAL_CONFIG=${MRUBY_ADDITIONAL_CONFIG} INSTALL_DIR=${CMAKE_CURRENT_BINARY_DIR}/mruby-bin ruby minirake -v WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/deps/mruby BYPRODUCTS "${CMAKE_CURRENT_BINARY_DIR}/mruby/host/lib/libmruby.a" "${CMAKE_CURRENT_BINARY_DIR}/mruby/host/mrbgems/mruby-onig-regexp/onigmo-6.2.0/.libs/libonigmo.a" diff --git a/www-servers/h2o/h2o-9999.ebuild b/www-servers/h2o/h2o-9999.ebuild index d23c024f17a0..c2052d1e15e2 100644 --- a/www-servers/h2o/h2o-9999.ebuild +++ b/www-servers/h2o/h2o-9999.ebuild @@ -34,10 +34,9 @@ DEPEND="${RDEPEND} dev-libs/onigmo dev-libs/oniguruma ) - app-alternatives/yacc - ) -" -BDEPEND="virtual/pkgconfig" + )" +BDEPEND="virtual/pkgconfig + mruby? ( app-alternatives/yacc )" PATCHES=( "${FILESDIR}"/${PN}-2.3-mruby.patch ) |