1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Move RUBY_VER after bsd.port.pre.mk

Pointyhat to:   pgolucci (myself)
This commit is contained in:
Philip M. Gollucci 2010-12-09 22:01:01 +00:00
parent 378e26ee13
commit d6325c7320
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=265944

View File

@ -17,9 +17,6 @@ DIST_SUBDIR= ruby
MAINTAINER= ruby@FreeBSD.org
COMMENT= A Ruby interface to termios
.if ${RUBY_VER} == 1.9
BROKEN= does not compile with ruby 1.9
.endif
MAKE_JOBS_UNSAFE= yes
@ -36,6 +33,10 @@ DOCS= ChangeLog README \
.include <bsd.port.pre.mk>
.if ${RUBY_VER} == 1.9
BROKEN= does not compile with ruby 1.9
.endif
post-patch:
${RUBY} -i -pe 'gsub(/ttyS\d/, "cuaa0")' ${WRKSRC}/examples/*.rb
${RUBY} -i -pe 'gsub(/\.c_/, ".")' ${WRKSRC}/examples/*.rb