As we discussed in the last meeting, we reset the ports tree and began from scratch, even though this change involves porting all the packages. Starting small and growing gradually, this approach will reduce build times and consequently lower energy consumption in a world affected by climate change. We will add new ports as users needs arise; ok h3artbl33d@

This commit is contained in:
purplerain 2024-05-26 03:08:12 +00:00
parent 83a0aaf92c
commit 9a3af55370
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
59377 changed files with 98673 additions and 4712155 deletions

View file

@ -1,28 +1,27 @@
- avoid using glib (only useful for spotlight?)
- use more generic check for OpenBSD.
- avoid nested function error with clang
Index: source3/wscript
--- source3/wscript.orig
+++ source3/wscript
@@ -100,6 +100,7 @@ def options(opt):
@@ -101,6 +101,7 @@ def options(opt):
# default = None means autodetection
opt.samba_add_onoff_option('spotlight', with_name="enable", without_name="disable", default=None)
opt.samba_add_onoff_option('wsp', with_name="enable", without_name="disable", default=True)
+ opt.samba_add_onoff_option('glib', default=False)
def configure(conf):
default_static_modules = []
@@ -113,7 +114,7 @@ def configure(conf):
conf.env.developer = True
conf.DEFINE('HAVE_SMB3_UNIX_EXTENSIONS', '1')
@@ -109,7 +110,7 @@ def configure(conf):
forced_static_modules = []
forced_shared_modules = []
- if sys.platform != 'openbsd5':
+ if not sys.platform.startswith('openbsd'):
conf.ADD_LDFLAGS("-Wl,--export-dynamic", testflags=True)
# We crash without vfs_default
@@ -1789,7 +1790,7 @@ int main(void) {
@@ -1799,7 +1800,7 @@ int main(void) {
else:
conf.fatal('AFS headers not available, but --with-fake-kaserver was specified')