Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ruby-redmine devel/ruby-redmine: fix changing pe...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/310f7a53e23c
branches:  trunk
changeset: 431461:310f7a53e23c
user:      taca <taca%pkgsrc.org@localhost>
date:      Wed May 13 14:33:15 2020 +0000

description:
devel/ruby-redmine: fix changing permission of files

Fix changing permission of files.

diffstat:

 devel/ruby-redmine/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r a1026e15a335 -r 310f7a53e23c devel/ruby-redmine/Makefile
--- a/devel/ruby-redmine/Makefile       Wed May 13 13:16:02 2020 +0000
+++ b/devel/ruby-redmine/Makefile       Wed May 13 14:33:15 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2020/05/07 16:00:21 taca Exp $
+# $NetBSD: Makefile,v 1.50 2020/05/13 14:33:15 taca Exp $
 
 DISTNAME=      redmine-4.0.7
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME}
@@ -274,6 +274,9 @@
 
 .include "../../lang/ruby/gem-extract.mk"
 
+pre-configure:
+       cd ${WRKSRC}/${DISTNAME} && ${CHMOD} -R g-w .
+
 do-build:
 .for gem in ${DISTFILES:M*.gem:S/.gem$//g}
        ${RUN} cd ${WRKDIR}/${gem} && ${SETENV} ${MAKE_ENV} ${RUBYGEM_ENV} \
@@ -328,7 +331,6 @@
 .for f in ${RM_APP_CONFIG}
        ${MV} ${DESTDIR}${PREFIX}/${RM_DIR}/app/config/${f}.example \
                ${DESTDIR}/${EGDIR}
-       ${CHMOD} ${SHAREMODE} ${DESTDIR}/${EGDIR} ${f}.example
 .endfor
 .for f in ${RM_TEST_CONFIG}
        ${MV} ${DESTDIR}${PREFIX}/${RM_DIR}/app/test/fixtures/configuration/${f}.example \



Home | Main Index | Thread Index | Old Index