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:
parent
6feb80912f
commit
2d1ee302c2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42325
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user