opnsense-ports/archivers/rubygem-bzip2-ruby/files/patch-ext_extconf.rb
Franco Fichtner 6e79da282a */*: sync with upstream
Taken from: FreeBSD
2016-07-27 07:58:02 +02:00

17 lines
442 B
Ruby

--- ext/extconf.rb.orig 2016-07-26 12:25:25 UTC
+++ ext/extconf.rb
@@ -11,11 +11,9 @@ if have_library("bz2", "BZ2_bzWriteOpen"
$static = nil
end
- if RUBY_VERSION =~ /1.9/
- $CFLAGS << ' -DRUBY_19_COMPATIBILITY'
- end
+ $CFLAGS << ' -DRUBY_19_COMPATIBILITY'
create_makefile('bzip2_ext')
else
puts "libbz2 not found, maybe try manually specifying --with-bz2-dir to find it?"
-end
\ No newline at end of file
+end