git: a4ca06930af4 - main - lang/kross-interpreters: fix build with Ruby 3.x
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Mar 2022 23:56:55 UTC
The branch main has been updated by adridg: URL: https://cgit.FreeBSD.org/ports/commit/?id=a4ca06930af4694d3dc463080790ce52f65e1d20 commit a4ca06930af4694d3dc463080790ce52f65e1d20 Author: Adriaan de Groot <adridg@FreeBSD.org> AuthorDate: 2022-03-15 20:53:41 +0000 Commit: Adriaan de Groot <adridg@FreeBSD.org> CommitDate: 2022-03-15 23:56:53 +0000 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 --- lang/kross-interpreters/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lang/kross-interpreters/Makefile b/lang/kross-interpreters/Makefile index 73ef8786ee13..be1e6a781f05 100644 --- a/lang/kross-interpreters/Makefile +++ b/lang/kross-interpreters/Makefile @@ -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}