SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,23 @@
don't install symlinks to shared libraries
Index: SCons/Tool/install.py
--- SCons/Tool/install.py.orig
+++ SCons/Tool/install.py
@@ -30,6 +30,7 @@ selection method.
import os
import stat
+import sys
from shutil import copy2, copystat
import SCons.Action
@@ -210,6 +211,9 @@ def copyFuncVersionedLib(dest, source, env) -> int:
return 0
def listShlibLinksToInstall(dest, source, env):
+ if sys.platform.startswith('openbsd'):
+ return []
+
install_links = []
source = env.arg2nodes(source)
dest = env.fs.File(dest)