diff options
author | swills <swills@FreeBSD.org> | 2011-05-03 10:59:02 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2011-05-03 10:59:02 +0800 |
commit | 103936e9a10c10a0fa67ff91f6b95698ebd202f9 (patch) | |
tree | c7a8eced2248d9fbcd34526b16bc4e81592d7700 /graphics | |
parent | e2009d99d193d9714cdb9987d582d69010213f18 (diff) | |
download | freebsd-ports-gnome-103936e9a10c10a0fa67ff91f6b95698ebd202f9.tar.gz freebsd-ports-gnome-103936e9a10c10a0fa67ff91f6b95698ebd202f9.tar.zst freebsd-ports-gnome-103936e9a10c10a0fa67ff91f6b95698ebd202f9.zip |
- Fix build with Ruby 1.9
PR: ports/156505
Submitted by: Eric Freeman <freebsdports@chillibear.com>
Approved by: maintainer (stas@ via irc)
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/ruby-imlib2/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/ruby-imlib2/Makefile b/graphics/ruby-imlib2/Makefile index db82bd98820b..5c75177d840c 100644 --- a/graphics/ruby-imlib2/Makefile +++ b/graphics/ruby-imlib2/Makefile @@ -30,6 +30,9 @@ DOCSDIR= ${RUBY_MODDOCDIR} PORTDOCS= * .endif +post-patch: + ${REINPLACE_CMD} -E -e 's|RSTRING\(([^)]+)\)->len|RSTRING_LEN(\1)|g' ${WRKSRC}/imlib2.c + post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_MODDOCDIR} |