aboutsummaryrefslogtreecommitdiff
path: root/butl
diff options
context:
space:
mode:
Diffstat (limited to 'butl')
-rw-r--r--butl/triplet2
-rw-r--r--butl/triplet.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/butl/triplet b/butl/triplet
index 013818e..69dc9df 100644
--- a/butl/triplet
+++ b/butl/triplet
@@ -85,7 +85,7 @@ namespace butl
//
// linux *-*-linux-*
// macosx *-apple-darwin*
- // freebsd *-*-freebsd*
+ // bsd *-*-(freebsd|openbsd|netbsd)*
// windows *-*-win32-* | *-*-mingw32
//
// References:
diff --git a/butl/triplet.cxx b/butl/triplet.cxx
index 39057a3..3ce5033 100644
--- a/butl/triplet.cxx
+++ b/butl/triplet.cxx
@@ -125,8 +125,8 @@ namespace butl
class_ = "linux";
else if (vendor == "apple" && system == "darwin")
class_ = "macosx";
- else if (system == "freebsd")
- class_ = "freebsd";
+ else if (system == "freebsd" || system == "openbsd" || system == "netbsd")
+ class_ = "bsd";
else if (system.compare (0, 5, "win32") == 0 || system == "mingw32")
class_ = "windows";
else