Re: git: 930715f767cc - main - editors/rehex: update to 0.5.0

From: Alexey Dokuchaev <danfe_at_freebsd.org>
Date: Thu, 28 Apr 2022 06:22:07 UTC
On Thu, Apr 28, 2022 at 06:01:34AM +0000, Fernando Apestegu??a wrote:
> commit 930715f767ccfb6375ee7c56f7ba3134541593de
> 
>   editors/rehex: update to 0.5.0
>     
> -MAKE_ENV=	LUA_PKG="lua-${LUA_VER}" LUA="${LUA_CMD}"
> +MAKE_ENV=	LUA_PKG="lua-${LUA_VER}" LUA="${LUA_CMD}" STRIP="${STRIP}"

So now you have to pass STRIP explicitly...

>  -	install -D -m 0755 $(EXE) $(DESTDIR)$(bindir)/$(EXE)
> -+	$(BSD_INSTALL_PROGRAM) $(EXE) $(DESTDIR)$(bindir)/$(EXE)
> ++	install -m 0755 $(STRIP) $(EXE) $(DESTDIR)$(bindir)/$(EXE)

... to use it here, but BSD_INSTALL_PROGRAM already does it automagically,
why remove it and set the Sun by hands?

> -+		$(BSD_INSTALL_DATA) res/icon$${s}.png $(DESTDIR)$(datarootdir)/icons/hicolor/$${s}x$${s}/apps/rehex.png; \
> ++		install -m 0644 res/icon$${s}.png $(DESTDIR)$(datarootdir)/icons/hicolor/$${s}x$${s}/apps/rehex.png; \

Ditto for BSD_INSTALL_DATA here and below.

./danfe