drop OpenBSD support. See bsd/openBSD.txt for info
This commit is contained in:
parent
a2df46dae5
commit
8264c6e2a2
@ -39,7 +39,8 @@ ELSEIF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
|
|||||||
ELSEIF(CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
|
ELSEIF(CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
|
||||||
# OpenBSD Stuff Here
|
# OpenBSD Stuff Here
|
||||||
message( "OpenBSD detected")
|
message( "OpenBSD detected")
|
||||||
message( WARNING "OpenBSD is still experimental!" )
|
message( FATAL_ERROR "OpenBSD is not supported! See bsd/openBSD.txt for more
|
||||||
|
info" )
|
||||||
SET( METER_SOURCES "bsd/memory_openbsd.cc" "bsd/cpu.cc" "bsd/load.cc" )
|
SET( METER_SOURCES "bsd/memory_openbsd.cc" "bsd/cpu.cc" "bsd/load.cc" )
|
||||||
ELSE()
|
ELSE()
|
||||||
message( FATAL_ERROR "Cannot be compiled on this system" )
|
message( FATAL_ERROR "Cannot be compiled on this system" )
|
||||||
|
19
bsd/openBSD.txt
Normal file
19
bsd/openBSD.txt
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
About OpenBSD Port
|
||||||
|
==================
|
||||||
|
|
||||||
|
I've decided not to do OpenBSD port. Some preparations has been made both
|
||||||
|
by myself and (mainly) by Justin Crawford, so finish it shouldn't be difficult.
|
||||||
|
Personally, after installing OpenBSD and trying to finish the port I've
|
||||||
|
discovered that g++ supplied by OpenBSD (version 5.7) doesn't support c++11.
|
||||||
|
This means we lose the ability to use to_string() and stoi() functions. I could
|
||||||
|
write replacements for them, or try to get c++11 working on OpenBSD. But I
|
||||||
|
decided not to. At least for the moment.
|
||||||
|
|
||||||
|
I don't know OpenBSD, it's unfamiliar ground for me. And while FreeBSD was easy
|
||||||
|
to get into, I have found OpenBSD a little bit more difficult.
|
||||||
|
|
||||||
|
So, no OpenBSD port for now. If you are OpenBSD user and know a little bit c++
|
||||||
|
finishing the port should be easy (once you get C++11 working).
|
||||||
|
|
||||||
|
l0ner
|
||||||
|
|
Loading…
Reference in New Issue
Block a user