Hi,

I would like to commit the following diff to the www/mozilla module.

It switches all ports using www/mozilla to use MODULES+=lang/rust
instead of BUILD_DEPENDS+=lang/rust, and adds MODRUST_WANTLIB to
WANTLIB.

It makes these ports to use _SYSTEM_VERSION-rust and be bumped
automatically when rust (compiler or stdlib) changes, and so get the
package updated.

It should affect:
- mail/mozilla-thunderbird
- www/tor-browser/browser
- www/firefox-esr
- www/mozilla-firefox
- www/seamonkey

Comments or OK ?
-- 
Sebastien Marie


Index: www/mozilla/mozilla.port.mk
===================================================================
RCS file: /cvs/ports/www/mozilla/mozilla.port.mk,v
diff -u -p -r1.171 mozilla.port.mk
--- www/mozilla/mozilla.port.mk 19 Dec 2023 14:23:43 -0000      1.171
+++ www/mozilla/mozilla.port.mk 1 Jan 2024 16:14:29 -0000
@@ -112,7 +112,8 @@ MODMOZ_BUILD_DEPENDS +=     devel/nasm
 .endif
 
 # 53 needs rust
-MODMOZ_BUILD_DEPENDS +=        lang/rust
+MODULES +=             lang/rust
+MODMOZ_WANTLIB +=      ${MODRUST_WANTLIB}
 #1670807
 MODMOZ_BUILD_DEPENDS +=        devel/m4
 

Reply via email to