Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jun 2015 18:16:33 +0000
From:      "mat (Mathieu Arnold)" <phabric-noreply@FreeBSD.org>
To:        freebsd-perl@freebsd.org
Subject:   [Differential] [Commented On] D2869: Make Perl behave and install files with u+w.
Message-ID:  <49b695653f52a66d416e0aaac903bb42@localhost.localdomain>
In-Reply-To: <differential-rev-PHID-DREV-yhhpaq7f5py3cz3yap7i-req@FreeBSD.org>
References:  <differential-rev-PHID-DREV-yhhpaq7f5py3cz3yap7i-req@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
mat added a comment.

In https://reviews.freebsd.org/D2869#55503, @pgollucci wrote:

> +1 to the spirit.  Though what user would actually want to edit these installed files?  Only developers likely.  Though it does match everything else.


Well, the various INSTALL_* macros use 644/755 modes, Perl ignores those, and then, we have to do stupid stuff to go around it, like:

  post-install:
          ${CHMOD} u+w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Set/Object/Object.so
          ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Set/Object/Object.so
          ${CHMOD} u-w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Set/Object/Object.so


REPOSITORY
  rP FreeBSD ports repository

REVISION DETAIL
  https://reviews.freebsd.org/D2869

EMAIL PREFERENCES
  https://reviews.freebsd.org/settings/panel/emailpreferences/

To: mat, Perl
Cc: pgollucci, freebsd-perl-list



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49b695653f52a66d416e0aaac903bb42>