pkgsrc-Users archive

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

Re: Question about PKG_DEVELOPER and math/py-scipy



I see. Now, chmod is used in post-extract.

thank you for your comment,

Daisuke

On Fri, 8 Jan 2021 at 23:17, Jonathan Perkin <jperkin%joyent.com@localhost> wrote:
>
> * On 2021-01-08 at 14:37 GMT, Kinoshita Daisuke wrote:
>
> > It seems that adding following to Makefile fixes the problem.
> >
> > # for changing permission of extracted files from -rwxrwxrwx to -rwxr-xr-x
> > EXTRACT_OPTS_TAR+=      --no-same-permissions
>
> This is highly unlikely to be portable.  Generally the way to fix this
> is simply to add a post-extract target that runs:
>
>   ${CHMOD} -R go-w ${WRKSRC}
>
> There are many examples to copy from across the tree.
>
> --
> Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index