pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/firefox firefox: Use dlopen.mk to detect the requi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0ae51321448f
branches:  trunk
changeset: 382788:0ae51321448f
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Aug 05 09:52:10 2022 +0000

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

diffstat:

 www/firefox/mozilla-common.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r dd25232074e4 -r 0ae51321448f www/firefox/mozilla-common.mk
--- a/www/firefox/mozilla-common.mk     Fri Aug 05 08:44:30 2022 +0000
+++ b/www/firefox/mozilla-common.mk     Fri Aug 05 09:52:10 2022 +0000
@@ -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 @@
 
 # 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