mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
www/firefox: fix build on powerpc64
sqlite3 needs libm linking to buildon powerpc64.
This commit is contained in:
parent
3b5dff3ea5
commit
497f7b9f16
1 changed files with 12 additions and 0 deletions
12
www/firefox/files/patch-third__party_sqlite3_src_moz.build
Normal file
12
www/firefox/files/patch-third__party_sqlite3_src_moz.build
Normal file
|
@ -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"
|
||||
]
|
Loading…
Add table
Reference in a new issue