pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/devel/gobject-introspection



Uwe Klaus <uklaus%hgb-leipzig.de@localhost> writes:

> On Thu, 17 Feb 2022, Joerg Sonnenberger wrote:
>
>>>> Modified Files:
>>>>    pkgsrc/devel/gobject-introspection: Makefile
>>> Index: pkgsrc/devel/gobject-introspection/Makefile
>>>
>>> +post-install:
>>> +       cd ${DESTDIR}${PREFIX} && find . -name *.orig -rm
>>>
>>> option -rm is not available on solaris, so may be better use
>>>         ${FIND} ${DESTDIR}${PREFIX} -name \*.orig -exec rm {} \;
>>
>> Illumos at least supports -delete, no idea about Solaris 10?
> it is sparc solaris 11.4
>
> The native solaris find neither has -rm nor -delete
> /usr/bin/find . -name *.orig -delete
> /usr/bin/find: bad option -delete
> /usr/bin/find . -name *.orig -rm
> /usr/bin/find: bad option -rm
>
> Pkgsrc findutils accepts only -delete
> /opt/pkg/gnu/bin/find . -name *.orig -rm
> find: unknown predicate `-rm'

The question really should not be about solaris.   For any tool, we
should

  1) expect only POSIX, unless
  2) document anything beyond POSIX
  3) on any platform, if it's deficient don't use it and require pkgsrc
     version
  4) for any use, stick to 1/2
  

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index