diff options
author | knu <knu@FreeBSD.org> | 2001-05-07 00:13:33 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-05-07 00:13:33 +0800 |
commit | 48dad0e01746836a6894b15825fb71b129e048d0 (patch) | |
tree | 2630756a69dee69a7874374e7b2f4e862e962840 /sysutils | |
parent | 63dea7b3fef2f32d541926361ec281b7c42a427d (diff) | |
download | freebsd-ports-graphics-48dad0e01746836a6894b15825fb71b129e048d0.tar.gz freebsd-ports-graphics-48dad0e01746836a6894b15825fb71b129e048d0.tar.zst freebsd-ports-graphics-48dad0e01746836a6894b15825fb71b129e048d0.zip |
Make it compile with Ruby 1.7 (make RUBY_VER=1.7).
Diffstat (limited to 'sysutils')
-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 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/ |