> On 2020-05-08, at 09:35, Ryan Schmidt <[email protected]> wrote:
>> make: Entering directory
>> `/opt/local/var/macports/build/_usr_local_macports_hfsinspect_sysutils_hfsinspect/hfsinspect/work/hfsinspect-02e0853'
>> + echo 'Installing hfsinspect in /opt/local'
>> Installing hfsinspect in /opt/local
>> + mkdir -p /opt/local/bin
>> + install build/Darwin-x86_64/hfsinspect /opt/local/bin
>> install: /opt/local/bin/hfsinspect: Operation not permitted
>> make: *** [install] Error 71
>
> According to the Makefile
>
> https://github.com/ahknight/hfsinspect/blob/master/Makefile
> <https://github.com/ahknight/hfsinspect/blob/master/Makefile>
>
> it should only be printing "Installing hfsinspect in ..." if you ran "make
> install", which should only be happening in the destroot phase, not the build
> phase.
>
> The Makefile doesn't seem to support DESTDIR, so you'll need to address that
> as well, for example using "makefile.has_destdir no" after you've included
> the makefile 1.0 portgroup.
i cannot find the makefile 1.0 portgroup in the guide.
added to portfile:
makefile.has_destdir no
destroot.destdir PREFIX=${destroot}/${prefix}
and now it works.
thanks!