From 2d1ee302c2b88554803ab612e758157a71124d68 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Sun, 6 May 2001 14:05:06 +0000 Subject: Make it compile with Ruby 1.7 (make RUBY_VER=1.7). --- archivers/ruby-zlib/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'archivers') diff --git a/archivers/ruby-zlib/Makefile b/archivers/ruby-zlib/Makefile index 9ed14bf463c3..fc00a1b19f51 100644 --- a/archivers/ruby-zlib/Makefile +++ b/archivers/ruby-zlib/Makefile @@ -23,6 +23,9 @@ INSTALL_TARGET= site-install DOCS_EN= ChangeLog zlib.en.html DOCS_JA= zlib.ja.html +post-patch: + ${RUBY} -i -pe 'sub /\bNORETURN\b/, ""' ${WRKSRC}/zlib.c + post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_DOCDIR}/zlib/ja -- cgit v1.2.3