mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Fix build with Ruby 2.0
This commit is contained in:
parent
7111b2d475
commit
6e425e98a0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336307
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= bzip2
|
||||
PORTVERSION= 0.2.7
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= archivers rubygems
|
||||
MASTER_SITES= RG
|
||||
DISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
|
||||
|
17
archivers/rubygem-bzip2/files/patch-ext__extconf.rb
Normal file
17
archivers/rubygem-bzip2/files/patch-ext__extconf.rb
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user