opnsense-ports/archivers/rubygem-bzip2-ruby/files/patch-ext__extconf.rb
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

17 lines
453 B
Ruby

--- ./ext/extconf.rb.orig 2013-12-12 21:55:36.054257218 +0000
+++ ./ext/extconf.rb 2013-12-12 21:55:51.579256255 +0000
@@ -11,11 +11,9 @@
$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