package/quickjs: fix typo in prefix
PATCH 1/1 package/quickjs: fix typo in prefix
The quickjs Makefile expects the variable PREFIX to be set [1] but prefix is set instead.
Without this parameter quickjs is installed to /usr/local by default [2] instead of /usr as requested.
This commit fixed this error.
[1]: https://github.com/bellard/quickjs/blob/master/Makefile#L383
[2]: https://github.com/bellard/quickjs/blob/master/Makefile#L43
--- package/quickjs/quickjs.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/quickjs/quickjs.mk +2 -2
@@ -29,7 +29,7 @@ define QUICKJS_INSTALL_STAGING_CMDS EXTRA_LIBS="$(QUICKJS_EXTRA_LIBS)" \ DESTDIR=$(STAGING_DIR) \ STRIP=/bin/true \ - prefix=/usr \ + PREFIX=/usr \ install endef
@@ -39,7 +39,7 @@ define QUICKJS_INSTALL_TARGET_CMDS EXTRA_LIBS="$(QUICKJS_EXTRA_LIBS)" \ DESTDIR=$(TARGET_DIR) \ STRIP=/bin/true \ - prefix=/usr \ + PREFIX=/usr \ install endef
---
base-commit: ed9da089449c53519be02204f97c3452abba5cc3
change-id: 20241211-fix_quickjs_prefix-28a1837f0d65
Best regards,
Signature · 6 lines
Thomas Bonnefille <[email protected]> _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Julien Olivain
AppliedQuoted 10 lines · Thomas Bonnefille
The quickjs
Makefileexpects the variable PREFIX to be set [1] but prefix is set instead.
Without this parameter quickjs is installed to/usr/localby default [2] instead of /usr as requested.
This commit fixed this error.[1]: https://github.com/bellard/quickjs/blob/master/Makefile#L383
[2]: https://github.com/bellard/quickjs/blob/master/Makefile#L43Signed-off-by Thomas Bonnefille <[email protected]>
Applied to master, thanks.
Quoted 31 lines
--- package/quickjs/quickjs.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)package/quickjs/quickjs.mk +2
-3@@ -29,7 +29,7 @@ define QUICKJS_INSTALL_STAGING_CMDS EXTRA_LIBS="$(QUICKJS_EXTRA_LIBS)" \ DESTDIR=$(STAGING_DIR) \ STRIP=/bin/true \ - prefix=/usr \ + PREFIX=/usr \ install endef@@ -39,7 +39,7 @@ define QUICKJS_INSTALL_TARGET_CMDS EXTRA_LIBS="$(QUICKJS_EXTRA_LIBS)" \ DESTDIR=$(TARGET_DIR) \ STRIP=/bin/true \ - prefix=/usr \ + PREFIX=/usr \ install endef ---base-commit:
ed9da089449c53519be02204f97c3452abba5cc3
change-id: 20241211-fix_quickjs_prefix-28a1837f0d65
Quoted 8 lines
Best regards,
--
Thomas Bonnefille <[email protected]>_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Hello Thomas,
Quoted 2 lines · On Mon, 16 Dec 2024 22:30:52 +0100 Thomas Bonnefille…
The quickjs
Makefileexpects the variable PREFIX to be set [1] but prefix is set instead.
... by Buildroot's quickjs.mk.
Quoted 3 lines
Without this parameter quickjs is installed to
/usr/localby default [2] instead of /usr as requested.
This commit fixed this error.
s/fixed/fixes/
Also, you want to add:
Thanks a lot!
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Bonnefille <[email protected]> writes:
The quickjs
Makefileexpects the variable PREFIX to be set [1] but prefix is set instead.
Without this parameter quickjs is installed to/usr/localby default [2] instead of /usr as requested.
This commit fixed this error.
Quoted 4 lines
[1]: https://github.com/bellard/quickjs/blob/master/Makefile#L383
[2]: https://github.com/bellard/quickjs/blob/master/Makefile#L43Signed-off-by Thomas Bonnefille <[email protected]>
Committed to 2024.11.x (this was broken by commit 814f9f17d5c3, so 2024.02.x is not affected), thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot