Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Aug 2021 19:28:15 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 497f7b9f1696 - main - www/firefox: fix build on powerpc64
Message-ID:  <202108131928.17DJSFQY027989@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=497f7b9f1696a940af25c29fefe6844a53d0f2ec

commit 497f7b9f1696a940af25c29fefe6844a53d0f2ec
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-08-13 19:28:10 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-08-13 19:28:10 +0000

    www/firefox: fix build on powerpc64
    
    sqlite3 needs libm linking to buildon powerpc64.
---
 www/firefox/files/patch-third__party_sqlite3_src_moz.build | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/www/firefox/files/patch-third__party_sqlite3_src_moz.build b/www/firefox/files/patch-third__party_sqlite3_src_moz.build
new file mode 100644
index 000000000000..8f1ed77f2be7
--- /dev/null
+++ b/www/firefox/files/patch-third__party_sqlite3_src_moz.build
@@ -0,0 +1,12 @@
+--- third_party/sqlite3/src/moz.build.old	2021-08-09 16:08:59.381182000 -0500
++++ third_party/sqlite3/src/moz.build	2021-08-09 16:10:25.370954000 -0500
+@@ -92,7 +92,8 @@
+ 
+ # Enabling sqlite math functions
+ DEFINES['SQLITE_ENABLE_MATH_FUNCTIONS'] = True
+-if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "Android":
++if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "Android" or \
++        CONFIG["OS_TARGET"] == "FreeBSD":
+     OS_LIBS += [
+         "m"
+     ]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108131928.17DJSFQY027989>