Skip to contentSkip to conversation

package/quickjs: fix typo in prefix

PATCH Applied Thomas Bonnefille 4 participants 4 messages Dec 16, 2024 – Dec 29, 2024

lore
Share & tools
lore
#0 lore raw

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
index e745923b87bff3cdeb2f872264be5e65466020cf..2bd9da1392cb853e57492253c6202a65187fb81e 100644
@@ -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
#1 lore raw
Quoted 10 lines · Thomas Bonnefille

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

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
index e745923b87bff3cdeb2f872264be5e65466020cf..2bd9da1392cb853e57492253c6202a65187fb81e 100644
@@ -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

#2 lore raw
In reply to Thomas Bonnefille

Hello Thomas,

Quoted 2 lines · On Mon, 16 Dec 2024 22:30:52 +0100 Thomas Bonnefille…

The quickjs Makefile expects 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/local by 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
#3 lore raw
In reply to Thomas Bonnefille
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Bonnefille <[email protected]> writes:

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.

Quoted 4 lines

[1]: https://github.com/bellard/quickjs/blob/master/Makefile#L383
[2]: https://github.com/bellard/quickjs/blob/master/Makefile#L43

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