mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
- Fix build with Ruby 2.0
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= bzip2
|
||||
PORTVERSION= 0.2.7
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= archivers rubygems
|
||||
MASTER_SITES= RG
|
||||
DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
--- ./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
|
||||
Reference in New Issue
Block a user