blob: 95c46af65fa3054d8cf5b7f1eec21084abc1ddaa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-aa,v 1.2 2014/03/14 17:55:49 taca Exp $
Relax condition to make more operating system support.
--- extconf.rb.orig 2014-03-06 16:01:44.000000000 +0000
+++ extconf.rb
@@ -16,10 +16,7 @@ $CFLAGS = case RUBY_VERSION
implementation = case CONFIG['host_os']
when /linux/i; 'shadow'
when /sunos|solaris/i; 'shadow'
- when /freebsd|openbsd/i; 'pwd'
- when /darwin/i; 'pwd'
- else; nil
- "This library works on OS X, FreeBSD, OpenBSD, Solaris and Linux."
+ else; 'pwd'
end
ok = true
|