remove psl

This commit is contained in:
henderkes
2025-11-19 10:48:24 +01:00
parent 875e1d05cd
commit 376b8e7569
7 changed files with 18 additions and 85 deletions

View File

@@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace SPC\builder\linux\library;
class psl extends LinuxLibraryBase
{
use \SPC\builder\unix\library\psl;
public const NAME = 'psl';
}

View File

@@ -0,0 +1,12 @@
<?php
declare(strict_types=1);
namespace SPC\builder\macos\library;
class krb5 extends MacOSLibraryBase
{
use \SPC\builder\unix\library\krb5;
public const NAME = 'krb5';
}

View File

@@ -1,12 +0,0 @@
<?php
declare(strict_types=1);
namespace SPC\builder\macos\library;
class psl extends MacOSLibraryBase
{
use \SPC\builder\unix\library\psl;
public const NAME = 'psl';
}

View File

@@ -18,8 +18,8 @@ trait krb5
$config = $spc->config(libraries: $libs, include_suggest_lib: $this->builder->getOption('with-suggested-libs', false));
UnixAutoconfExecutor::create($this)
->appendEnv([
'CFLAGS' => '-fcommon',
'LIBS' => $config['libs'],
'LDFLAGS' => '-Wl,--allow-multiple-definition',
])
->optionalLib('ldap', '--with-ldap', '--without-ldap')
->optionalLib('libedit', '--with-libedit', '--without-libedit')

View File

@@ -1,20 +0,0 @@
<?php
declare(strict_types=1);
namespace SPC\builder\unix\library;
use SPC\util\executor\UnixAutoconfExecutor;
trait psl
{
protected function build(): void
{
UnixAutoconfExecutor::create($this)
->optionalLib('idn2', ...ac_with_args('libidn2', true))
->configure('--disable-nls')
->make();
$this->patchPkgconfPrefix(['libpsl.pc']);
$this->patchLaDependencyPrefix();
}
}