mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 23:44:01 +02:00
4c6cfc62e6
from Sergey A. Osokin (maintainer) Going forward, NGINX Unit will no longer receive new features or enhancements from the project maintainers. NGINX Unit is still open to community contributions. The team is focusing its limited capacity to keep NGINX Unit stable, secure and high-quality. Its focus will be on critical maintenance, such as for security issues, dependency upgrades, and resolving crashes or undefined behavior.
25 lines
666 B
Makefile
25 lines
666 B
Makefile
BROKEN-sparc64= doesn't detect Ruby library in configure
|
|
|
|
UNIT_MODNAME= ruby${MODRUBY_REV}
|
|
UNIT_SHORTNAME= ruby
|
|
|
|
MODULES+= lang/ruby
|
|
|
|
# XXX ruby port provide librubyXX.so which is picked up in preference to
|
|
# the versioned library. Keep the "Extra" WANTLIB.
|
|
WANTLIB= ${MODRUBY_WANTLIB}
|
|
CONFIGURE_ENV+= RUBY=${RUBY}
|
|
LIB_DEPENDS= ${MODRUBY_LIB_DEPENDS}
|
|
RUN_DEPENDS= ${MODRUBY_RUN_DEPENDS}
|
|
SUBST_VARS= MODRUBY_REV
|
|
|
|
post-configure:
|
|
cd ${WRKSRC} && ./configure ruby --ruby=${MODRUBY_FLAVOR} \
|
|
--module=ruby${MODRUBY_REV}
|
|
/usr/bin/sed -i -e 's/-Werror //' ${WRKSRC}/build/Makefile
|
|
|
|
# needed for ruby 3 on llvm
|
|
CFLAGS-base_clang+= -fdeclspec
|
|
|
|
.include <bsd.port.mk>
|