diff options
author | knu <knu@FreeBSD.org> | 2001-05-06 14:23:53 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-05-06 14:23:53 +0000 |
commit | ade2d4727a304fd4eb61b9422c4ee5fa80ecb4a8 (patch) | |
tree | 426e42c41a84c63ba728ade7561f1a48317760eb | |
parent | 3e63928b8e7100014bdefaaa799ed13d26bec7a5 (diff) | |
download | FreeBSD-ports-ade2d4727a304fd4eb61b9422c4ee5fa80ecb4a8.zip FreeBSD-ports-ade2d4727a304fd4eb61b9422c4ee5fa80ecb4a8.tar.gz |
Oops, make it *work* with Ruby 1.7 (make RUBY_VER=1.7).
-rw-r--r-- | archivers/ruby-zlib/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/archivers/ruby-zlib/Makefile b/archivers/ruby-zlib/Makefile index fc00a1b1..bd0e191 100644 --- a/archivers/ruby-zlib/Makefile +++ b/archivers/ruby-zlib/Makefile @@ -24,7 +24,10 @@ DOCS_EN= ChangeLog zlib.en.html DOCS_JA= zlib.ja.html post-patch: - ${RUBY} -i -pe 'sub /\bNORETURN\b/, ""' ${WRKSRC}/zlib.c + ${RUBY} -i -p \ + -e 'gsub /\bNORETURN\b/, ""' \ + -e 'gsub /\bstr2cstr\b/, "rb_str2cstr"' \ + ${WRKSRC}/zlib.c post-install: .if !defined(NOPORTDOCS) |