diff --git a/archivers/rubygem-bzip2/Makefile b/archivers/rubygem-bzip2/Makefile index 2f7f8883b01b..37b4d9bbc1eb 100644 --- a/archivers/rubygem-bzip2/Makefile +++ b/archivers/rubygem-bzip2/Makefile @@ -3,6 +3,7 @@ PORTNAME= bzip2 PORTVERSION= 0.2.7 +PORTREVISION= 1 CATEGORIES= archivers rubygems MASTER_SITES= RG DISTNAME= ${PORTNAME}-ruby-${PORTVERSION} diff --git a/archivers/rubygem-bzip2/files/patch-ext__extconf.rb b/archivers/rubygem-bzip2/files/patch-ext__extconf.rb new file mode 100644 index 000000000000..e0d93697504f --- /dev/null +++ b/archivers/rubygem-bzip2/files/patch-ext__extconf.rb @@ -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