tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

building firefox on i386

Building firefox 90 on i386 (well, in an i386 pkg_comp chroot on amd64),
configure complains i486--netbsdelf makes no sense to rustc.

The patch below works arouund the problem (expected platform string
found from the rustc executable by the courtesy of string(1)). Is that
reasonable to commit?

--- www/firefox/
+++ www/firefox/
@@ -39,4 +39,7 @@
 # For rustc/cargo detection
+.if ${MACHINE_ARCH} == "i386" && ${OPSYS} == "NetBSD"

Emmanuel Dreyfus

Home | Main Index | Thread Index | Old Index