aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-05-06 22:05:06 +0800
committerknu <knu@FreeBSD.org>2001-05-06 22:05:06 +0800
commitd4c05a36fe739d5d1cd396bf0c37995045baa81e (patch)
treec8abfd81fd2649f08d921328eb1300dd5c0cf2a5 /archivers
parentd0f0b2d048a6fd93f7c913b4b6feda403300ad8c (diff)
downloadfreebsd-ports-gnome-d4c05a36fe739d5d1cd396bf0c37995045baa81e.tar.gz
freebsd-ports-gnome-d4c05a36fe739d5d1cd396bf0c37995045baa81e.tar.zst
freebsd-ports-gnome-d4c05a36fe739d5d1cd396bf0c37995045baa81e.zip
Make it compile with Ruby 1.7 (make RUBY_VER=1.7).
Diffstat (limited to 'archivers')
-rw-r--r--archivers/ruby-zlib/Makefile3
1 files changed, 3 insertions, 0 deletions
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