Date: Wed, 18 Jan 2023 15:34:34 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 0983bbffe275 - main - devel/rubygem-oj: Fix build Message-ID: <202301181534.30IFYYOw066510@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=0983bbffe275d18b7b7c576817f3eb57e2504bfe commit 0983bbffe275d18b7b7c576817f3eb57e2504bfe Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-01-18 15:28:49 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-01-18 15:32:49 +0000 devel/rubygem-oj: Fix build Currently the header files are not included although there is a post-install step. However there is a missing line where we need to create the directories. This fixes the builds of gitlab-ce. PR: 269020 Reported by: lysfjord.daniel@smokepit.net Approved by: portmgr (just-fix-it) Sponsored by: Bounce Experts --- devel/rubygem-oj/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devel/rubygem-oj/Makefile b/devel/rubygem-oj/Makefile index 8bdf67403bc5..374e6a43edc7 100644 --- a/devel/rubygem-oj/Makefile +++ b/devel/rubygem-oj/Makefile @@ -1,6 +1,6 @@ PORTNAME= oj PORTVERSION= 3.13.23 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel rubygems MASTER_SITES= RG @@ -16,7 +16,7 @@ USES= gem # TODO: find a better way to do this # Copy all header file, as it is required by rubygem-oj-introspect post-install: + ${INSTALL_DATA} -d ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME}-${PORTVERSION}/ext/oj cd ${WRKSRC}/ext/oj && ${FIND} * -name "*.h" -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME}-${PORTVERSION}/ext/oj/{}" \; - .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301181534.30IFYYOw066510>