1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-17 19:39:43 +00:00

lang/kross-interpreters: fix build with Ruby 3.x

Patch from Yasuhiro Kimura. Apparently this flag is needed
when building against Ruby 3.x. It doesn't hurt with Ruby 2.7,
so land it without complications.

Provided By:		yasu@
PR:			262486
This commit is contained in:
Adriaan de Groot 2022-03-15 21:53:41 +01:00
parent 11c938ec03
commit a4ca06930a

View File

@ -1,5 +1,6 @@
PORTNAME= kross-interpreters
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
PORTREVISION= 1
CATEGORIES= lang kde kde-applications
MAINTAINER= kde@FreeBSD.org
@ -11,6 +12,8 @@ USE_KDE= kross \
USE_QT= core gui script widgets xml \
buildtools_build qmake_build
CFLAGS+= -fdeclspec
OPTIONS_DEFINE= RUBY DOCS
OPTIONS_SUB= yes
OPTIONS_DEFAULT= ${OPTIONS_DEFINE}