[Differential] [Commented On] D2869: Make Perl behave and install files with u+w.

mat (Mathieu Arnold) phabric-noreply at FreeBSD.org
Fri Jun 19 18:16:33 UTC 2015


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


More information about the freebsd-perl mailing list