From 48dad0e01746836a6894b15825fb71b129e048d0 Mon Sep 17 00:00:00 2001 From: knu Date: Sun, 6 May 2001 16:13:33 +0000 Subject: Make it compile with Ruby 1.7 (make RUBY_VER=1.7). --- sysutils/ruby-syslog/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sysutils') diff --git a/sysutils/ruby-syslog/Makefile b/sysutils/ruby-syslog/Makefile index 3281e2305a0..5eb98110936 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/ -- cgit