Date: Fri, 13 Dec 2013 01:22:31 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336307 - in head/archivers/rubygem-bzip2: . files Message-ID: <201312130122.rBD1MVlj077388@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Fri Dec 13 01:22:30 2013 New Revision: 336307 URL: http://svnweb.freebsd.org/changeset/ports/336307 Log: - Fix build with Ruby 2.0 Added: head/archivers/rubygem-bzip2/files/ head/archivers/rubygem-bzip2/files/patch-ext__extconf.rb (contents, props changed) Modified: head/archivers/rubygem-bzip2/Makefile Modified: head/archivers/rubygem-bzip2/Makefile ============================================================================== --- head/archivers/rubygem-bzip2/Makefile Fri Dec 13 01:17:49 2013 (r336306) +++ head/archivers/rubygem-bzip2/Makefile Fri Dec 13 01:22:30 2013 (r336307) @@ -3,6 +3,7 @@ PORTNAME= bzip2 PORTVERSION= 0.2.7 +PORTREVISION= 1 CATEGORIES= archivers rubygems MASTER_SITES= RG DISTNAME= ${PORTNAME}-ruby-${PORTVERSION} Added: head/archivers/rubygem-bzip2/files/patch-ext__extconf.rb ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/archivers/rubygem-bzip2/files/patch-ext__extconf.rb Fri Dec 13 01:22:30 2013 (r336307) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312130122.rBD1MVlj077388>