On Thu, 21 Oct 2021, Tracey Emery wrote:
> Hello,
>
> After some discussion with jcs and sthen, here is a small diff to fix
> for $(LOCALBASE) in makeesparduino. I think it's the simplest solution
> for now.
>
> Ok?
Works fine for me with a couple of weemos boards.
I think the change is cleaner until this is merged upstream.
ok paco@
>
> --
>
> Tracey Emery
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/makeesparduino/Makefile,v
> retrieving revision 1.3
> diff -u -p -u -r1.3 Makefile
> --- Makefile 21 Oct 2021 14:03:04 -0000 1.3
> +++ Makefile 21 Oct 2021 20:00:52 -0000
> @@ -5,6 +5,7 @@ COMMENT = makefile for ESP8266 and ESP3
> GH_ACCOUNT = plerup
> GH_PROJECT = makeEspArduino
> GH_TAGNAME = 6.5.0
> +REVISION = 0
>
> PKGNAME = makeesparduino-${GH_TAGNAME}
>
> @@ -22,6 +23,9 @@ RUN_DEPENDS += devel/arduino \
>
> NO_TEST = Yes
> NO_BUILD = Yes
> +
> +post-extract:
> + sed -i 's,$$(LOCALBASE),${LOCALBASE},' ${WRKDIST}/os/OpenBSD.mk
>
> do-install:
> ${INSTALL_DATA_DIR} ${PREFIX}/share/makeEspArduino
> Index: pkg/MESSAGE
> ===================================================================
> RCS file: /cvs/ports/devel/makeesparduino/pkg/MESSAGE,v
> retrieving revision 1.2
> diff -u -p -u -r1.2 MESSAGE
> --- pkg/MESSAGE 21 Oct 2021 14:03:04 -0000 1.2
> +++ pkg/MESSAGE 21 Oct 2021 20:00:52 -0000
> @@ -3,8 +3,3 @@ desired Espressif chipset.
>
> If you haven't already, please use pkg_add to install arduino-esp8266,
> arduino-esp32, or both.
> -
> -Also, the LOCALBASE path will need to be added to your environment. For
> -temporary usage, do:
> -
> -$ env LOCALBASE=${LOCALBASE} gmake -f
> ${LOCALBASE}/share/makeEspArduino/makeEspArduino.mk
>
--
Paco Esteban.
0x5818130B8A6DBC03