summaryrefslogtreecommitdiff
path: root/archivers/rubygem-bzip2-ruby/files/patch-ext_extconf.rb
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-07-26 16:51:15 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-07-26 16:51:15 +0000
commit9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch)
tree9b071a8105704e992946dcd6b801e9fcb7635142 /archivers/rubygem-bzip2-ruby/files/patch-ext_extconf.rb
parentMooseFS is a Fault tolerant, High Available, Highly Performing, Scale-Out, (diff)
Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them. With hat: portmgr Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=419133
Diffstat (limited to 'archivers/rubygem-bzip2-ruby/files/patch-ext_extconf.rb')
-rw-r--r--archivers/rubygem-bzip2-ruby/files/patch-ext_extconf.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/archivers/rubygem-bzip2-ruby/files/patch-ext_extconf.rb b/archivers/rubygem-bzip2-ruby/files/patch-ext_extconf.rb
new file mode 100644
index 000000000000..f64c6649612e
--- /dev/null
+++ b/archivers/rubygem-bzip2-ruby/files/patch-ext_extconf.rb
@@ -0,0 +1,17 @@
+--- 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