diff options
author | swills <swills@FreeBSD.org> | 2011-05-03 09:21:40 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2011-05-03 09:21:40 +0800 |
commit | 2acc6f9465736e621337c6040dba02dd08211bd1 (patch) | |
tree | c408c2b3a1e49142541c8508edbcacc52ef6d9b4 /audio/ruby-freedb | |
parent | eb17b2a27f4276ccc3b58cced70c1a3bf6c27cfa (diff) | |
download | freebsd-ports-gnome-2acc6f9465736e621337c6040dba02dd08211bd1.tar.gz freebsd-ports-gnome-2acc6f9465736e621337c6040dba02dd08211bd1.tar.zst freebsd-ports-gnome-2acc6f9465736e621337c6040dba02dd08211bd1.zip |
- Fix build with Ruby 1.9
PR: ports/156469
Submitted by: Eric Freeman <freebsdports@chillibear.com>
Approved by: maintainer (timeout)
Diffstat (limited to 'audio/ruby-freedb')
-rw-r--r-- | audio/ruby-freedb/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/ruby-freedb/Makefile b/audio/ruby-freedb/Makefile index 89384799fd80..0d0714b02c1a 100644 --- a/audio/ruby-freedb/Makefile +++ b/audio/ruby-freedb/Makefile @@ -25,6 +25,9 @@ INSTALL_TARGET= site-install DOCS= CHANGELOG README doc EXAMPLES= examples/*.rb +post-patch: + ${REINPLACE_CMD} -E -e "s,RSTRING\(([^)]+)\)->ptr,RSTRING_PTR(\1),g" ${WRKSRC}/freedb_cdrom.c + post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_MODDOCDIR} |