mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-13 06:23:45 -04:00
19 lines
632 B
Plaintext
19 lines
632 B
Plaintext
$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
|