Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/biology/canu biology/canu: don't try to chmod system b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6611ee0b31b4
branches:  trunk
changeset: 431550:6611ee0b31b4
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu May 14 18:30:05 2020 +0000

description:
biology/canu: don't try to chmod system binaries

/usr/bin/chmod -R g-w /home/pbulk/build/biology/canu/work
chmod: WARNING: can't change /home/pbulk/build/biology/canu/work/.gcc/bin/cc
chmod: WARNING: can't change /home/pbulk/build/biology/canu/work/.gcc/bin/g++

Just good that serious pkgsrc builds are run as an unprivileged user,
with no chance of bricking the whole operating system.

diffstat:

 biology/canu/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5c07903a43c4 -r 6611ee0b31b4 biology/canu/Makefile
--- a/biology/canu/Makefile     Thu May 14 18:04:44 2020 +0000
+++ b/biology/canu/Makefile     Thu May 14 18:30:05 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2020/05/06 14:04:19 adam Exp $
+# $NetBSD: Makefile,v 1.8 2020/05/14 18:30:05 rillig Exp $
 
 DISTNAME=      canu-1.8
 PKGREVISION=   5
@@ -64,7 +64,7 @@
 INSTALLATION_DIRS=     bin ${JAVAJARDIR}
 
 post-extract:
-       ${CHMOD} -R g-w ${WRKDIR}
+       ${CHMOD} -R g-w ${WRKDIR}/${DISTNAME}
 
 post-build:
        ${MKDIR} ${TMP_INST}/lib/perl5



Home | Main Index | Thread Index | Old Index