1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Make it compile with Ruby 1.7 (make RUBY_VER=1.7).

This commit is contained in:
Akinori MUSHA 2001-05-06 14:05:06 +00:00
parent 6feb80912f
commit 2d1ee302c2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42325

View File

@ -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