mirror of
https://git.freebsd.org/ports.git
synced 2025-05-21 03:23:10 -04:00
Approved by: rene (mentor) Security: https://vuxml.freebsd.org/freebsd/d357f6bb-0af4-4ac9-b096-eeec183ad829.html
11 lines
460 B
Python
11 lines
460 B
Python
--- build/config/linux/pkg-config.py.orig 2023-03-09 06:31:50 UTC
|
|
+++ build/config/linux/pkg-config.py
|
|
@@ -108,7 +108,7 @@ def main():
|
|
# If this is run on non-Linux platforms, just return nothing and indicate
|
|
# success. This allows us to "kind of emulate" a Linux build from other
|
|
# platforms.
|
|
- if "linux" not in sys.platform:
|
|
+ if not sys.platform.startswith(tuple(['linux', 'openbsd', 'freebsd'])):
|
|
print("[[],[],[],[],[]]")
|
|
return 0
|
|
|