Add patches to a few ports to build with ruby 3.0, mostly -fdeclspec to CFLAGS or CXXFLAGS. Bump ports where the default version change causes a package change. OK kmos@
41 lines
735 B
Makefile
41 lines
735 B
Makefile
# $OpenBSD: Makefile,v 1.13 2021/09/02 14:59:44 jeremy Exp $
|
|
|
|
COMMENT = state machine compiler
|
|
|
|
DISTNAME = ragel-6.9
|
|
REVISION = 5
|
|
CATEGORIES = devel
|
|
|
|
HOMEPAGE = http://www.colm.net/open-source/ragel/
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += c m ${COMPILER_LIBCXX}
|
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
|
|
MASTER_SITES = http://www.colm.net/files/ragel/
|
|
|
|
MODULES = lang/ruby
|
|
|
|
MODRUBY_RUNDEP = No
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ENV = ac_cv_prog_RUBY=${RUBY} \
|
|
ac_cv_prog_GDC= \
|
|
ac_cv_prog_GMCS= \
|
|
ac_cv_prog_GO= \
|
|
ac_cv_prog_JAVAC= \
|
|
ac_cv_prog_TXL=
|
|
|
|
TEST_DEPENDS = shells/bash \
|
|
textproc/gdiff
|
|
|
|
do-test:
|
|
cd ${WRKBUILD}/test && ${LOCALBASE}/bin/bash ./runtests
|
|
|
|
.include <bsd.port.mk>
|