Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Feb 2023 10:33:23 GMT
From:      Matthias Fechner <mfechner@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: efc0c492126c - main - devel/rubygem-oj: Create directoy with proper mode
Message-ID:  <202302061033.316AXNc1044272@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mfechner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=efc0c492126c9bcea826919e18f4d86492d6e915

commit efc0c492126c9bcea826919e18f4d86492d6e915
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2023-01-27 09:41:22 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2023-02-06 10:33:04 +0000

    devel/rubygem-oj: Create directoy with proper mode
    
    "${INSTALL_DATA} -d" creates directory with 0644 and it result in
    failing to copy header files with 'permission denied'. So use
    "${INSTALL} -d" instead.It creates directory with 0755 and header
    files are copied successfully.
    
    Fixes:          0983bbffe275
---
 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 374e6a43edc7..367164535c29 100644
--- a/devel/rubygem-oj/Makefile
+++ b/devel/rubygem-oj/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	oj
 PORTVERSION=	3.13.23
-PORTREVISION=	2
+PORTREVISION=	3
 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
+	${INSTALL} -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?202302061033.316AXNc1044272>