pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/firefox firefox: detect libpci on netbsd, where we...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7d8e17a23dbe
branches:  trunk
changeset: 771374:7d8e17a23dbe
user:      maya <maya%pkgsrc.org@localhost>
date:      Fri Dec 17 20:08:42 2021 +0000

description:
firefox: detect libpci on netbsd, where we call it libpciutil.

webgl works again.

bump pkgrevision

diffstat:

 www/firefox/Makefile          |   3 ++-
 www/firefox/mozilla-common.mk |  10 +++++++++-
 2 files changed, 11 insertions(+), 2 deletions(-)

diffs (45 lines):

diff -r d38ae1f9e1d2 -r 7d8e17a23dbe www/firefox/Makefile
--- a/www/firefox/Makefile      Fri Dec 17 20:07:38 2021 +0000
+++ b/www/firefox/Makefile      Fri Dec 17 20:08:42 2021 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.503 2021/12/11 14:10:01 ryoon Exp $
+# $NetBSD: Makefile,v 1.504 2021/12/17 20:08:42 maya Exp $
 
 FIREFOX_VER=           ${MOZ_BRANCH}${MOZ_BRANCH_MINOR}
 MOZ_BRANCH=            95.0
 MOZ_BRANCH_MINOR=      
+PKGREVISION=           1
 
 DISTNAME=      firefox-${FIREFOX_VER}.source
 PKGNAME=       ${DISTNAME:S/.source//:S/b/beta/:S/esr//}
diff -r d38ae1f9e1d2 -r 7d8e17a23dbe www/firefox/mozilla-common.mk
--- a/www/firefox/mozilla-common.mk     Fri Dec 17 20:07:38 2021 +0000
+++ b/www/firefox/mozilla-common.mk     Fri Dec 17 20:08:42 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mozilla-common.mk,v 1.212 2021/12/11 14:10:01 ryoon Exp $
+# $NetBSD: mozilla-common.mk,v 1.213 2021/12/17 20:08:42 maya Exp $
 #
 # common Makefile fragment for mozilla packages based on gecko 2.0.
 #
@@ -112,6 +112,13 @@
 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
@@ -174,6 +181,7 @@
 # In unspecified case, clock_gettime(CLOCK_MONOTONIC, ...) fails.
 CONFIGURE_ENV.NetBSD+= ac_cv_clock_monotonic=
 
+.include "../../sysutils/pciutils/buildlink3.mk"
 .include "../../mk/atomic64.mk"
 BUILDLINK_API_DEPENDS.libevent+=       libevent>=1.1
 .include "../../devel/libevent/buildlink3.mk"



Home | Main Index | Thread Index | Old Index