git: 76b1c5746c03 - main - net/netatalk4: Fix linming with avahi
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 01 Feb 2026 11:34:07 UTC
The branch main has been updated by marcus:
URL: https://cgit.FreeBSD.org/ports/commit/?id=76b1c5746c035f3d9be51264b31a2bb3730c18d5
commit 76b1c5746c035f3d9be51264b31a2bb3730c18d5
Author: Jose Quinteiro <freebsd@quinteiro.org>
AuthorDate: 2026-02-01 11:24:25 +0000
Commit: Joe Marcus Clarke <marcus@FreeBSD.org>
CommitDate: 2026-02-01 11:26:29 +0000
net/netatalk4: Fix linming with avahi
Avahi also needs -pthread like mdns.
---
net/netatalk4/files/patch-meson.build | 26 +++++++++++++++++---------
1 file changed, 17 insertions(+), 9 deletions(-)
diff --git a/net/netatalk4/files/patch-meson.build b/net/netatalk4/files/patch-meson.build
index 2b20d821cd69..5f05ab9a3081 100644
--- a/net/netatalk4/files/patch-meson.build
+++ b/net/netatalk4/files/patch-meson.build
@@ -1,6 +1,6 @@
---- meson.build.orig 2025-09-07 19:42:40 UTC
+--- meson.build.orig 2026-01-04 16:50:32.000000000 +0000
+++ meson.build
-@@ -69,6 +69,7 @@ libdir = prefix / get_option('libdir')
+@@ -69,6 +69,7 @@
datadir = prefix / get_option('datadir')
includedir = prefix / get_option('includedir')
libdir = prefix / get_option('libdir')
@@ -8,16 +8,16 @@
mandir = prefix / get_option('mandir')
sbindir = prefix / get_option('sbindir')
sysconfdir = prefix / get_option('sysconfdir')
-@@ -141,7 +142,7 @@ statedir = '-D_PATH_STATEDIR="' + localstatedir + '/ne
- dversion = '-DVERSION="' + netatalk_version + '"'
+@@ -141,7 +142,7 @@
messagedir = '-DSERVERTEXT="' + localstatedir + '/netatalk/msg/"'
+ naddir = '-D_PATH_NAD="' + bindir + '/nad"'
statedir = '-D_PATH_STATEDIR="' + localstatedir + '/netatalk/"'
-uamdir = '-D_PATH_AFPDUAMPATH="' + libdir + '/netatalk/"'
+uamdir = '-D_PATH_AFPDUAMPATH="' + libexecdir + '/netatalk-uams/"'
############
# Includes #
-@@ -408,6 +409,7 @@ if 'dbd' in get_option('with-cnid-backends')
+@@ -411,6 +412,7 @@
endif
bdb_subdirs = [
@@ -25,7 +25,7 @@
'db62',
'db6.2',
'db61',
-@@ -922,12 +924,12 @@ dns_sd_libs = []
+@@ -927,12 +929,12 @@
dns_sd_libs = []
@@ -40,7 +40,7 @@
if dns_sd.found()
dns_sd_libs += system
endif
-@@ -941,6 +943,8 @@ have_dns = (
+@@ -946,6 +948,8 @@
)
)
@@ -49,7 +49,7 @@
if enable_zeroconf
if host_os == 'darwin'
# On Darwin/macOS, prefer mDNS (Bonjour) over Avahi
-@@ -950,6 +954,7 @@ if enable_zeroconf
+@@ -955,6 +959,7 @@
cdata.set('HAVE_MDNS', 1)
cdata.set('freebsd_zeroconf', 'mdnsd')
zeroconf_provider += 'mDNS'
@@ -57,7 +57,15 @@
elif avahi.found()
have_zeroconf = true
cdata.set('USE_ZEROCONF', 1)
-@@ -1578,6 +1583,7 @@ if not enable_pam
+@@ -976,6 +981,7 @@
+ cdata.set('HAVE_MDNS', 1)
+ cdata.set('freebsd_zeroconf', 'mdnsd')
+ zeroconf_provider += 'mDNS'
++ dns_sd_libs += threads
+ endif
+ endif
+ endif
+@@ -1592,6 +1598,7 @@
if not enable_pam
have_pam = false