1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
--- meson.build.orig 2025-08-05 13:56:32 UTC
+++ meson.build
@@ -69,6 +69,7 @@ libdir = prefix / get_option('libdir')
datadir = prefix / get_option('datadir')
includedir = prefix / get_option('includedir')
libdir = prefix / get_option('libdir')
+libexecdir = prefix / get_option('libexecdir')
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 + '"'
messagedir = '-DSERVERTEXT="' + localstatedir + '/netatalk/msg/"'
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')
endif
bdb_subdirs = [
+ '%%DB_NAME%%',
'db62',
'db6.2',
'db61',
@@ -924,12 +926,12 @@ dns_sd_libs = []
dns_sd_libs = []
-dns_sd = cc.find_library('dns_sd', required: false)
+dns_sd = cc.find_library('dns_sd', dirs: libsearch_dirs, required: false)
if dns_sd.found()
dns_sd_libs += dns_sd
endif
-system = cc.find_library('system', required: false)
+system = cc.find_library('system', dirs: libsearch_dirs, required: false)
if dns_sd.found()
dns_sd_libs += system
endif
@@ -943,6 +945,8 @@ have_dns = (
)
)
+threads = dependency('threads', required: true)
+
if enable_zeroconf
if avahi.found()
have_zeroconf = true
@@ -956,6 +960,7 @@ if enable_zeroconf
cdata.set('HAVE_MDNS', 1)
cdata.set('freebsd_zeroconf', 'mdnsd')
zeroconf_provider += 'mDNS'
+ dns_sd_libs += threads
endif
endif
@@ -1562,6 +1567,7 @@ if not enable_pam
if not enable_pam
have_pam = false
+ pam = dependency('', required: false)
else
if host_os != 'sunos'
pam_paths = [
|