| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/math/py-pytanque/files/ |
Upload File : |
--- setup.py.orig 2021-09-29 05:21:08 UTC
+++ setup.py
@@ -3,11 +3,11 @@ import glob
import platform
import subprocess
-if platform.system() in ("Linux","Darwin"):
+if platform.system() in ("Linux","Darwin","FreeBSD"):
# This will work w/ GCC and clang
compile_args = ['-std=c++14','-flto','-Dpetanque_STATIC']
link_args = ['-flto']
- if platform.system() == "Linux":
+ if platform.system() == "Linux" or platform.system() == "FreeBSD":
link_args = ["-Wl,--strip-all","-Wl,-gc-sections"]
elif platform.system() == "Windows":
compile_args = ['/Dpetanque_STATIC','/TP', '/EHsc']