Hello,

While working on tor-browser, I noticed that wantlibs were missing.
I then checked mozilla-firefox and firefox-esr and found wanlibs there 
missing too. The below diff fixes both.

OK?

Best Regards,
Stefan

Index: www/firefox-esr/Makefile
===================================================================
RCS file: /home/cvs/ports/www/firefox-esr/Makefile,v
retrieving revision 1.157
diff -u -p -u -p -r1.157 Makefile
--- www/firefox-esr/Makefile    16 Dec 2021 15:09:12 -0000      1.157
+++ www/firefox-esr/Makefile    24 Dec 2021 21:35:24 -0000
@@ -9,6 +9,8 @@ MOZILLA_PROJECT =       firefox-esr
 MOZILLA_CODENAME =     browser
 MOZILLA_DIST =         firefox
 
+REVISION =     0
+
 WRKDIST =      ${WRKDIR}/${MOZILLA_DIST}-${MOZILLA_DIST_VERSION:C/esr//}
 HOMEPAGE =     https://www.mozilla.org/firefox/organizations/
 PKGNAME =      ${MOZILLA_PROJECT}-${MOZILLA_VERSION:S/esr//}
@@ -36,8 +38,9 @@ BUILD_DEPENDS +=      devel/cbindgen>=0.19.0
 BUILD_DEPENDS +=       devel/m4
 
 # uses pledge()
-WANTLIB += X11-xcb Xcursor Xi intl xcb xcb-shm harfbuzz ${COMPILER_LIBCXX}
-WANTLIB += Xcomposite Xdamage Xfixes
+WANTLIB += ${COMPILER_LIBCXX} X11-xcb Xcomposite Xcursor
+WANTLIB += Xdamage Xfixes Xi Xt gthread-2.0 harfbuzz intl
+WANTLIB += pangoft2-1.0 xcb xcb-shm
 
 # Regression tests are too hard to adapt to run here
 NO_TEST =      Yes
Index: www/mozilla-firefox/Makefile
===================================================================
RCS file: /home/cvs/ports/www/mozilla-firefox/Makefile,v
retrieving revision 1.477
diff -u -p -u -p -r1.477 Makefile
--- www/mozilla-firefox/Makefile        16 Dec 2021 15:07:59 -0000      1.477
+++ www/mozilla-firefox/Makefile        24 Dec 2021 15:57:30 -0000
@@ -10,6 +10,8 @@ MOZILLA_BRANCH =      release
 MOZILLA_PROJECT =      firefox
 MOZILLA_CODENAME =     browser
 
+REVISION =     0
+
 WRKDIST =      ${WRKDIR}/${MOZILLA_DIST}-${MOZILLA_DIST_VERSION:C/b[0-9]*//}
 HOMEPAGE =     https://www.mozilla.org/firefox/
 SO_VERSION =   108.0
@@ -38,7 +40,7 @@ BUILD_DEPENDS +=      devel/cbindgen>=0.19.0
 BUILD_DEPENDS +=       devel/m4
 
 # uses pledge()
-WANTLIB += X11-xcb Xcursor Xi intl xcb xcb-shm harfbuzz ${COMPILER_LIBCXX}
+WANTLIB += X11-xcb Xcursor Xi Xrandr intl xcb xcb-shm harfbuzz 
${COMPILER_LIBCXX}
 WANTLIB += Xcomposite Xdamage Xfixes
 
 # Regression tests are too hard to adapt to run here

Reply via email to