kFreeBSD: Remove support for obsolete platform
kFreeBSD is no longer maintained or supported and was never an officially-supported release architecture for Debian. Closes: #26742
This commit is contained in:
parent
7065c7a586
commit
99c8abed55
@ -61,7 +61,6 @@ Value Name
|
|||||||
``Haiku`` Unix operating system inspired by BeOS
|
``Haiku`` Unix operating system inspired by BeOS
|
||||||
``HP-UX`` Hewlett Packard Unix
|
``HP-UX`` Hewlett Packard Unix
|
||||||
``iOS`` Apple mobile phone operating system
|
``iOS`` Apple mobile phone operating system
|
||||||
``kFreeBSD`` FreeBSD kernel with a GNU userland
|
|
||||||
``Linux`` All Linux-based distributions
|
``Linux`` All Linux-based distributions
|
||||||
``Midipix`` POSIX-compatible layer for Windows
|
``Midipix`` POSIX-compatible layer for Windows
|
||||||
``MirBSD`` MirOS BSD operating system
|
``MirBSD`` MirOS BSD operating system
|
||||||
|
@ -391,7 +391,7 @@ macro(_pkg_set_path_internal)
|
|||||||
# the system
|
# the system
|
||||||
set(_lib_dirs)
|
set(_lib_dirs)
|
||||||
if(NOT DEFINED CMAKE_SYSTEM_NAME
|
if(NOT DEFINED CMAKE_SYSTEM_NAME
|
||||||
OR (CMAKE_SYSTEM_NAME MATCHES "^(Linux|kFreeBSD|GNU)$"
|
OR (CMAKE_SYSTEM_NAME MATCHES "^(Linux|GNU)$"
|
||||||
AND NOT CMAKE_CROSSCOMPILING))
|
AND NOT CMAKE_CROSSCOMPILING))
|
||||||
if(EXISTS "/etc/debian_version") # is this a debian system ?
|
if(EXISTS "/etc/debian_version") # is this a debian system ?
|
||||||
if(CMAKE_LIBRARY_ARCHITECTURE)
|
if(CMAKE_LIBRARY_ARCHITECTURE)
|
||||||
|
@ -252,7 +252,7 @@ if(NOT DEFINED CMAKE_INSTALL_LIBDIR OR (_libdir_set
|
|||||||
"Please enable at least one language before including GNUInstallDirs.")
|
"Please enable at least one language before including GNUInstallDirs.")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CMAKE_SYSTEM_NAME MATCHES "^(Linux|kFreeBSD|GNU)$"
|
if(CMAKE_SYSTEM_NAME MATCHES "^(Linux|GNU)$"
|
||||||
AND NOT CMAKE_CROSSCOMPILING)
|
AND NOT CMAKE_CROSSCOMPILING)
|
||||||
unset(__system_type_for_install)
|
unset(__system_type_for_install)
|
||||||
if(DEFINED ENV{CONDA_BUILD} AND DEFINED ENV{PREFIX})
|
if(DEFINED ENV{CONDA_BUILD} AND DEFINED ENV{PREFIX})
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
# kFreeBSD is a Debian GNU distribution with a kernel from FreeBSD,
|
|
||||||
# and should be marked as LINUX
|
|
||||||
include(Platform/Linux-Initialize)
|
|
||||||
|
|
||||||
set(CMAKE_LIBRARY_ARCHITECTURE_REGEX "[a-z0-9_]+(-[a-z0-9_]+)?-kfreebsd-gnu[a-z0-9_]*")
|
|
@ -1,2 +0,0 @@
|
|||||||
# kFreeBSD is a Debian GNU distribution with a kernel from FreeBSD.
|
|
||||||
include(Platform/Linux)
|
|
@ -4298,10 +4298,6 @@ cm::string_view cmSystemTools::GetSystemName()
|
|||||||
systemName = "BSDOS";
|
systemName = "BSDOS";
|
||||||
}
|
}
|
||||||
|
|
||||||
// fix for GNU/kFreeBSD, remove the GNU/
|
|
||||||
if (systemName.find("kFreeBSD") != cm::string_view::npos) {
|
|
||||||
systemName = "kFreeBSD";
|
|
||||||
}
|
|
||||||
return systemName;
|
return systemName;
|
||||||
}
|
}
|
||||||
return "";
|
return "";
|
||||||
|
@ -22,7 +22,7 @@ find_package(PkgConfig)
|
|||||||
|
|
||||||
|
|
||||||
if(NOT DEFINED CMAKE_SYSTEM_NAME
|
if(NOT DEFINED CMAKE_SYSTEM_NAME
|
||||||
OR (CMAKE_SYSTEM_NAME MATCHES "^(Linux|kFreeBSD|GNU)$"
|
OR (CMAKE_SYSTEM_NAME MATCHES "^(Linux|GNU)$"
|
||||||
AND NOT CMAKE_CROSSCOMPILING))
|
AND NOT CMAKE_CROSSCOMPILING))
|
||||||
if(EXISTS "/etc/debian_version") # is this a debian system ?
|
if(EXISTS "/etc/debian_version") # is this a debian system ?
|
||||||
if(CMAKE_LIBRARY_ARCHITECTURE MATCHES "^(i386-linux-gnu|x86_64-linux-gnu)$")
|
if(CMAKE_LIBRARY_ARCHITECTURE MATCHES "^(i386-linux-gnu|x86_64-linux-gnu)$")
|
||||||
|
@ -19,7 +19,7 @@ find_package(PkgConfig)
|
|||||||
|
|
||||||
|
|
||||||
if(NOT DEFINED CMAKE_SYSTEM_NAME
|
if(NOT DEFINED CMAKE_SYSTEM_NAME
|
||||||
OR (CMAKE_SYSTEM_NAME MATCHES "^(Linux|kFreeBSD|GNU)$"
|
OR (CMAKE_SYSTEM_NAME MATCHES "^(Linux|GNU)$"
|
||||||
AND NOT CMAKE_CROSSCOMPILING))
|
AND NOT CMAKE_CROSSCOMPILING))
|
||||||
if(EXISTS "/etc/debian_version") # is this a debian system ?
|
if(EXISTS "/etc/debian_version") # is this a debian system ?
|
||||||
if(CMAKE_LIBRARY_ARCHITECTURE MATCHES "^(i386-linux-gnu|x86_64-linux-gnu)$")
|
if(CMAKE_LIBRARY_ARCHITECTURE MATCHES "^(i386-linux-gnu|x86_64-linux-gnu)$")
|
||||||
|
@ -19,7 +19,7 @@ find_package(PkgConfig)
|
|||||||
|
|
||||||
|
|
||||||
if(NOT DEFINED CMAKE_SYSTEM_NAME
|
if(NOT DEFINED CMAKE_SYSTEM_NAME
|
||||||
OR (CMAKE_SYSTEM_NAME MATCHES "^(Linux|kFreeBSD|GNU)$"
|
OR (CMAKE_SYSTEM_NAME MATCHES "^(Linux|GNU)$"
|
||||||
AND NOT CMAKE_CROSSCOMPILING))
|
AND NOT CMAKE_CROSSCOMPILING))
|
||||||
if(EXISTS "/etc/debian_version") # is this a debian system ?
|
if(EXISTS "/etc/debian_version") # is this a debian system ?
|
||||||
if(CMAKE_LIBRARY_ARCHITECTURE MATCHES "^(i386-linux-gnu|x86_64-linux-gnu)$")
|
if(CMAKE_LIBRARY_ARCHITECTURE MATCHES "^(i386-linux-gnu|x86_64-linux-gnu)$")
|
||||||
|
@ -19,7 +19,7 @@ find_package(PkgConfig)
|
|||||||
|
|
||||||
|
|
||||||
if(NOT DEFINED CMAKE_SYSTEM_NAME
|
if(NOT DEFINED CMAKE_SYSTEM_NAME
|
||||||
OR (CMAKE_SYSTEM_NAME MATCHES "^(Linux|kFreeBSD|GNU)$"
|
OR (CMAKE_SYSTEM_NAME MATCHES "^(Linux|GNU)$"
|
||||||
AND NOT CMAKE_CROSSCOMPILING))
|
AND NOT CMAKE_CROSSCOMPILING))
|
||||||
if(EXISTS "/etc/debian_version") # is this a debian system ?
|
if(EXISTS "/etc/debian_version") # is this a debian system ?
|
||||||
if(CMAKE_LIBRARY_ARCHITECTURE MATCHES "^(i386-linux-gnu|x86_64-linux-gnu)$")
|
if(CMAKE_LIBRARY_ARCHITECTURE MATCHES "^(i386-linux-gnu|x86_64-linux-gnu)$")
|
||||||
|
@ -236,10 +236,6 @@ if(BUILD_SHARED_LIBS)
|
|||||||
CMAKE_SYSTEM_NAME STREQUAL "Linux" OR
|
CMAKE_SYSTEM_NAME STREQUAL "Linux" OR
|
||||||
CMAKE_SYSTEM_NAME STREQUAL "SunOS" OR
|
CMAKE_SYSTEM_NAME STREQUAL "SunOS" OR
|
||||||
CMAKE_SYSTEM_NAME STREQUAL "Haiku" OR
|
CMAKE_SYSTEM_NAME STREQUAL "Haiku" OR
|
||||||
CMAKE_SYSTEM_NAME STREQUAL "GNU/kFreeBSD" OR
|
|
||||||
# FreeBSD comes with the a.out and ELF flavours but a.out was supported
|
|
||||||
# up to v3.x and ELF from v3.x. I cannot imagine someone running CMake
|
|
||||||
# on those ancient systems.
|
|
||||||
CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
|
CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
|
||||||
set(_soversion_default TRUE)
|
set(_soversion_default TRUE)
|
||||||
else()
|
else()
|
||||||
|
@ -232,22 +232,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
|
|||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CMAKE_SYSTEM_NAME STREQUAL "kFreeBSD")
|
|
||||||
list(APPEND uv_libraries
|
|
||||||
freebsd-glue
|
|
||||||
)
|
|
||||||
list(APPEND uv_headers
|
|
||||||
include/uv/bsd.h
|
|
||||||
)
|
|
||||||
list(APPEND uv_sources
|
|
||||||
src/unix/bsd-ifaddrs.c
|
|
||||||
src/unix/bsd-proctitle.c
|
|
||||||
src/unix/freebsd.c
|
|
||||||
src/unix/kqueue.c
|
|
||||||
src/unix/posix-hrtime.c
|
|
||||||
)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(CMAKE_SYSTEM_NAME STREQUAL "NetBSD")
|
if(CMAKE_SYSTEM_NAME STREQUAL "NetBSD")
|
||||||
list(APPEND uv_libraries
|
list(APPEND uv_libraries
|
||||||
kvm
|
kvm
|
||||||
|
Loading…
Reference in New Issue
Block a user