jeremy b5da0994ab Switch default ruby version to 3.0
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@
2021-09-02 14:59:44 +00:00

34 lines
701 B
Makefile

# $OpenBSD: Makefile,v 1.14 2021/09/02 14:59:44 jeremy Exp $
VERSION = 0.13
REVISION = 2
COMMENT = interactive shell for git
DISTNAME = gitsh-${VERSION}
CATEGORIES = devel
HOMEPAGE = https://github.com/thoughtbot/gitsh
MAINTAINER = Mike Burns <mike+openbsd@mike-burns.com>
# License: BSD
PERMIT_PACKAGE = Yes
WANTLIB += ereadline curses ${MODRUBY_WANTLIB}
MASTER_SITES = ${HOMEPAGE}/releases/download/v${VERSION}/
MODULES = lang/ruby
RUN_DEPENDS = devel/git
LIB_DEPENDS = devel/readline
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = READLINE_LIB="ereadline" \
CPPFLAGS="-I${LOCALBASE}/include/ereadline" \
LDFLAGS="-L${LOCALBASE}/lib" \
RUBY="${RUBY}"
.include <bsd.port.mk>