pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/firefox



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Aug  5 09:52:10 UTC 2022

Modified Files:
        pkgsrc/www/firefox: mozilla-common.mk

Log Message:
firefox: Use dlopen.mk to detect the requirement of -ldl through the normal
pkgsrc infrastructure on more platforms than just NetBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.236 -r1.237 pkgsrc/www/firefox/mozilla-common.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/firefox/mozilla-common.mk
diff -u pkgsrc/www/firefox/mozilla-common.mk:1.236 pkgsrc/www/firefox/mozilla-common.mk:1.237
--- pkgsrc/www/firefox/mozilla-common.mk:1.236  Wed Aug  3 17:09:26 2022
+++ pkgsrc/www/firefox/mozilla-common.mk        Fri Aug  5 09:52:10 2022
@@ -1,4 +1,4 @@
-# $NetBSD: mozilla-common.mk,v 1.236 2022/08/03 17:09:26 ryoon Exp $
+# $NetBSD: mozilla-common.mk,v 1.237 2022/08/05 09:52:10 nia Exp $
 #
 # common Makefile fragment for mozilla packages based on gecko 2.0.
 #
@@ -140,7 +140,8 @@ SUBST_SED.fix-libpci-soname+=               -e 's,"li
 
 # Workaround for link of libxul.so as of 96.0.
 # There are too many -ldl under third_paty/libwebrtc.
-BUILDLINK_TRANSFORM.NetBSD+=   rm:-ldl
+.include "../../mk/dlopen.buildlink3.mk"
+BUILDLINK_TRANSFORM+=  opt:-ldl:${BUILDLINK_LDADD.dl:Q}
 
 CONFIG_GUESS_OVERRIDE+=                ${MOZILLA_DIR}build/autoconf/config.guess
 CONFIG_GUESS_OVERRIDE+=                ${MOZILLA_DIR}js/src/build/autoconf/config.guess



Home | Main Index | Thread Index | Old Index