Permalink
Browse files

Discard OpenBSD version number in @os

  • Loading branch information...
1 parent 2acbc7d commit d39e587fdba7cb36d9423c0a35fa8d5ff9a7005a @tonysidaway tonysidaway committed Sep 16, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 configure
View
@@ -28,6 +28,7 @@ class Configure
@host = `sh -c ./rakelib/config.guess`.chomp
/([^-]+)-([^-]+)-(.*)/ =~ @host
@cpu, @vendor, @os = $1, $2, $3
+ @os.sub! /openbsd[0-9\.]*$/, "openbsd" # Discard OpenBSD version number
@little_endian = false
@sizeof = {}

0 comments on commit d39e587

Please sign in to comment.