diff options
author | knu <knu@FreeBSD.org> | 2001-05-06 16:13:33 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-05-06 16:13:33 +0000 |
commit | 48dad0e01746836a6894b15825fb71b129e048d0 (patch) | |
tree | 2630756a69dee69a7874374e7b2f4e862e962840 | |
parent | 63dea7b3fef2f32d541926361ec281b7c42a427d (diff) | |
download | FreeBSD-ports-48dad0e01746836a6894b15825fb71b129e048d0.zip FreeBSD-ports-48dad0e01746836a6894b15825fb71b129e048d0.tar.gz |
Make it compile with Ruby 1.7 (make RUBY_VER=1.7).
-rw-r--r-- | sysutils/ruby-syslog/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysutils/ruby-syslog/Makefile b/sysutils/ruby-syslog/Makefile index 3281e23..5eb9811 100644 --- a/sysutils/ruby-syslog/Makefile +++ b/sysutils/ruby-syslog/Makefile @@ -22,6 +22,9 @@ INSTALL_TARGET= site-install post-extract: ${RM} ${WRKSRC}/depend +post-patch: + ${RUBY} -i -pe 'gsub /\bstr2cstr\b/, "rb_str2cstr"' ${WRKSRC}/*.[ch] + post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_DOCDIR}/syslog/ |