aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-12-09 22:01:01 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-12-09 22:01:01 +0000
commitd6325c73201775e8d84a22be1d2813d05c0cf3bf (patch)
tree35fdbdbebf56a0688bb810a3cb5c754d83006d5d
parent378e26ee13b4de781ca96d216dd6cf0d62d2afed (diff)
downloadports-d6325c73201775e8d84a22be1d2813d05c0cf3bf.tar.gz
ports-d6325c73201775e8d84a22be1d2813d05c0cf3bf.zip
- Move RUBY_VER after bsd.port.pre.mk
Pointyhat to: pgolucci (myself)
Notes
Notes: svn path=/head/; revision=265944
-rw-r--r--comms/ruby-termios/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/comms/ruby-termios/Makefile b/comms/ruby-termios/Makefile
index ffcf2430e6f1..a0d042423c89 100644
--- a/comms/ruby-termios/Makefile
+++ b/comms/ruby-termios/Makefile
@@ -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