ports/devel/fpm/patches/patch-src_fpm_environment_f90

18 lines
414 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
- default to OpenBSD detection (still overridable with OSTYPE env)
Index: src/fpm_environment.f90
--- src/fpm_environment.f90.orig
+++ src/fpm_environment.f90
@@ -114,6 +114,11 @@ contains
end if
end if
+ ! We are in ports tree, it is OpenBSD
+ r = OS_OPENBSD
+ ret = r
+ return
+
! Linux
inquire (file='/etc/os-release', exist=file_exists)