- Fix build with Ruby 1.9

PR:		ports/156505
Submitted by:	Eric Freeman <freebsdports@chillibear.com>
Approved by:	maintainer (stas@ via irc)
This commit is contained in:
Steve Wills 2011-05-03 02:59:02 +00:00
parent c1bd802e09
commit 49696a0dc2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=273519

View file

@ -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}