pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/firefox91 firefox91: Copy libpci fixes from www/fi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fa096ad73143
branches:  trunk
changeset: 771543:fa096ad73143
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Dec 19 11:09:27 2021 +0000

description:
firefox91: Copy libpci fixes from www/firefox. Thanks maya.

diffstat:

 www/firefox91/mozilla-common.mk |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 2cf34e1a6147 -r fa096ad73143 www/firefox91/mozilla-common.mk
--- a/www/firefox91/mozilla-common.mk   Sun Dec 19 11:02:22 2021 +0000
+++ b/www/firefox91/mozilla-common.mk   Sun Dec 19 11:09:27 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mozilla-common.mk,v 1.2 2021/09/22 12:52:17 nia Exp $
+# $NetBSD: mozilla-common.mk,v 1.3 2021/12/19 11:09:27 nia Exp $
 #
 # common Makefile fragment for mozilla packages based on gecko 2.0.
 #
@@ -111,6 +111,14 @@
 SUBST_FILES.fix-paths+=                ${MOZILLA_DIR}xpcom/io/nsAppFileLocationProvider.cpp
 SUBST_SED.fix-paths+=          -e 's,/usr/lib/mozilla/plugins,${PREFIX}/lib/netscape/plugins,g'
 
+.include "../../sysutils/pciutils/libname.mk"
+
+SUBST_CLASSES+=                                fix-libpci-soname
+SUBST_STAGE.fix-libpci-soname=         pre-configure
+SUBST_MESSAGE.fix-libpci-soname=       Fixing libpci soname
+SUBST_FILES.fix-libpci-soname+=                ${MOZILLA_DIR}toolkit/xre/glxtest.cpp
+SUBST_SED.fix-libpci-soname+=          -e 's,libpci.so,lib${PCIUTILS_LIBNAME}.so,'
+
 CONFIG_GUESS_OVERRIDE+=                ${MOZILLA_DIR}build/autoconf/config.guess
 CONFIG_GUESS_OVERRIDE+=                ${MOZILLA_DIR}js/src/build/autoconf/config.guess
 CONFIG_GUESS_OVERRIDE+=                ${MOZILLA_DIR}nsprpub/build/autoconf/config.guess
@@ -197,6 +205,7 @@
 #BUILDLINK_API_DEPENDS.libvpx+=        libvpx>=1.3.0
 #.include "../../multimedia/libvpx/buildlink3.mk"
 .include "../../net/libIDL/buildlink3.mk"
+.include "../../sysutils/pciutils/buildlink3.mk"
 # textproc/hunspell 1.3 is too old
 #.include "../../textproc/hunspell/buildlink3.mk"
 .include "../../multimedia/ffmpeg4/buildlink3.mk"



Home | Main Index | Thread Index | Old Index