aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-12-10 06:01:01 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-12-10 06:01:01 +0800
commit153ca0abb7029ee4c6a34025055546ea71849217 (patch)
tree54dd2537584acf4d3083b0779e3ac33005148bfc /comms
parent55d3d29262faf934bd896a7e717b3d9421376b52 (diff)
downloadfreebsd-ports-gnome-153ca0abb7029ee4c6a34025055546ea71849217.tar.gz
freebsd-ports-gnome-153ca0abb7029ee4c6a34025055546ea71849217.tar.zst
freebsd-ports-gnome-153ca0abb7029ee4c6a34025055546ea71849217.zip
- Move RUBY_VER after bsd.port.pre.mk
Pointyhat to: pgolucci (myself)
Diffstat (limited to 'comms')
-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