aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archivers/ruby-bz2/Makefile4
-rw-r--r--audio/ruby-musicbrainz/Makefile6
-rw-r--r--databases/ruby-bdb1/Makefile6
-rw-r--r--databases/ruby-interbase/Makefile6
-rw-r--r--devel/ruby-fam/Makefile6
-rw-r--r--devel/ruby-gettext/Makefile6
-rw-r--r--devel/ruby-gnustep/Makefile6
-rw-r--r--devel/ruby-mmap/Makefile4
-rw-r--r--devel/ruby-rcov/Makefile6
-rw-r--r--devel/ruby-rudl/Makefile6
-rw-r--r--devel/ruby-sysvipc/Makefile4
-rw-r--r--devel/rubygem-rparsec/Makefile6
-rw-r--r--devel/rubygem-sdl/Makefile6
-rw-r--r--games/ruby-exmars/Makefile6
-rw-r--r--graphics/ruby-ming/Makefile6
-rw-r--r--irc/xchat-ruby/Makefile6
-rw-r--r--japanese/mobileimap/Makefile6
-rw-r--r--japanese/ruby-ming/Makefile6
-rw-r--r--multimedia/ruby-flvtool2/Makefile6
-rw-r--r--net-im/rubygem-termtter/Makefile6
-rw-r--r--net-im/rubygem-xmpp4r/Makefile6
-rw-r--r--security/ruby-acl/Makefile6
-rw-r--r--textproc/eruby/Makefile2
-rw-r--r--textproc/ruby-erbscan/Makefile6
-rw-r--r--textproc/ruby-rd-mode.el/Makefile6
-rw-r--r--textproc/ruby-sablot/Makefile6
-rw-r--r--textproc/ruby-xslt/Makefile6
-rw-r--r--textproc/rubygem-htmltools/Makefile6
-rw-r--r--www/mod_ruby/Makefile4
-rw-r--r--www/ruby-http-access/Makefile6
-rw-r--r--www/ruby-nora/Makefile6
-rw-r--r--x11-toolkits/ruby-tk/Makefile4
32 files changed, 145 insertions, 33 deletions
diff --git a/archivers/ruby-bz2/Makefile b/archivers/ruby-bz2/Makefile
index 0d388e7e06a1..b027f0873cc4 100644
--- a/archivers/ruby-bz2/Makefile
+++ b/archivers/ruby-bz2/Makefile
@@ -31,6 +31,10 @@ DOCS= Changes \
.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+
post-build:
.if !defined(NOPORTDOCS)
cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} \
diff --git a/audio/ruby-musicbrainz/Makefile b/audio/ruby-musicbrainz/Makefile
index 231e37ed268d..fb94dd327a87 100644
--- a/audio/ruby-musicbrainz/Makefile
+++ b/audio/ruby-musicbrainz/Makefile
@@ -41,4 +41,8 @@ post-install:
@(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "${DOCS}" ${RUBY_MODDOCDIR}/)
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+.include <bsd.port.post.mk>
diff --git a/databases/ruby-bdb1/Makefile b/databases/ruby-bdb1/Makefile
index 945356318ad7..4f6a52c9f6e2 100644
--- a/databases/ruby-bdb1/Makefile
+++ b/databases/ruby-bdb1/Makefile
@@ -46,4 +46,8 @@ post-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+.include <bsd.port.post.mk>
diff --git a/databases/ruby-interbase/Makefile b/databases/ruby-interbase/Makefile
index 6d7c0a985091..79ea8223ffc1 100644
--- a/databases/ruby-interbase/Makefile
+++ b/databases/ruby-interbase/Makefile
@@ -38,4 +38,8 @@ post-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+.include <bsd.port.post.mk>
diff --git a/devel/ruby-fam/Makefile b/devel/ruby-fam/Makefile
index f5c51b0eda85..5860659a29be 100644
--- a/devel/ruby-fam/Makefile
+++ b/devel/ruby-fam/Makefile
@@ -33,4 +33,8 @@ post-install:
@(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "${DOCS}" ${RUBY_MODDOCDIR}/)
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+.include <bsd.port.post.mk>
diff --git a/devel/ruby-gettext/Makefile b/devel/ruby-gettext/Makefile
index e43b95a67c8b..fc139ad9974c 100644
--- a/devel/ruby-gettext/Makefile
+++ b/devel/ruby-gettext/Makefile
@@ -27,12 +27,10 @@ RUBY_SHEBANG_FILES= ${WRKSRC}/samples/*.rb
DOCSDIR= ${RUBY_MODDOCDIR}
PORTDOCS= ChangeLog NEWS README
-RUBY_REQUIRE= Ruby >= 184
-
.include <bsd.port.pre.mk>
-.if !defined(RUBY_PROVIDED)
-IGNORE= requires Ruby 1.8.4 or later
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
.endif
post-install: doc-install
diff --git a/devel/ruby-gnustep/Makefile b/devel/ruby-gnustep/Makefile
index 5fe7e49870c6..ad06a2f89c55 100644
--- a/devel/ruby-gnustep/Makefile
+++ b/devel/ruby-gnustep/Makefile
@@ -55,4 +55,8 @@ post-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+.include <bsd.port.post.mk>
diff --git a/devel/ruby-mmap/Makefile b/devel/ruby-mmap/Makefile
index 405273756d9e..8ad093d0d909 100644
--- a/devel/ruby-mmap/Makefile
+++ b/devel/ruby-mmap/Makefile
@@ -31,6 +31,10 @@ DOCS= Changes \
.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+
post-patch:
.if exists(${RUBY_ARCHLIBDIR}/oniguruma.h)
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-oniguruma
diff --git a/devel/ruby-rcov/Makefile b/devel/ruby-rcov/Makefile
index e429a00f4791..963551cb894c 100644
--- a/devel/ruby-rcov/Makefile
+++ b/devel/ruby-rcov/Makefile
@@ -38,4 +38,8 @@ post-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+.include <bsd.port.post.mk>
diff --git a/devel/ruby-rudl/Makefile b/devel/ruby-rudl/Makefile
index 2f4137c7a7d7..11b6d01a577d 100644
--- a/devel/ruby-rudl/Makefile
+++ b/devel/ruby-rudl/Makefile
@@ -64,4 +64,8 @@ post-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+.include <bsd.port.post.mk>
diff --git a/devel/ruby-sysvipc/Makefile b/devel/ruby-sysvipc/Makefile
index fee5120d7a31..9f1d63388178 100644
--- a/devel/ruby-sysvipc/Makefile
+++ b/devel/ruby-sysvipc/Makefile
@@ -34,4 +34,8 @@ doc-install:
.endfor
.endif
+.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
.include <bsd.port.post.mk>
diff --git a/devel/rubygem-rparsec/Makefile b/devel/rubygem-rparsec/Makefile
index 4c241ba7a93c..08fd7aa24c30 100644
--- a/devel/rubygem-rparsec/Makefile
+++ b/devel/rubygem-rparsec/Makefile
@@ -16,4 +16,8 @@ USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+.include <bsd.port.post.mk>
diff --git a/devel/rubygem-sdl/Makefile b/devel/rubygem-sdl/Makefile
index 9e537c61e5bc..071672110285 100644
--- a/devel/rubygem-sdl/Makefile
+++ b/devel/rubygem-sdl/Makefile
@@ -23,4 +23,8 @@ USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+.include <bsd.port.post.mk>
diff --git a/games/ruby-exmars/Makefile b/games/ruby-exmars/Makefile
index ce26cb57c3da..cd3a775d5974 100644
--- a/games/ruby-exmars/Makefile
+++ b/games/ruby-exmars/Makefile
@@ -21,4 +21,8 @@ post-install:
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/test.rb ${RUBY_MODEXAMPLESDIR}/Mars.rb
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+.include <bsd.port.post.mk>
diff --git a/graphics/ruby-ming/Makefile b/graphics/ruby-ming/Makefile
index e1b9ad24c824..384d42fbf947 100644
--- a/graphics/ruby-ming/Makefile
+++ b/graphics/ruby-ming/Makefile
@@ -37,4 +37,8 @@ post-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+.include <bsd.port.post.mk>
diff --git a/irc/xchat-ruby/Makefile b/irc/xchat-ruby/Makefile
index 5bc3fdc5540e..ac5bf9466c95 100644
--- a/irc/xchat-ruby/Makefile
+++ b/irc/xchat-ruby/Makefile
@@ -46,4 +46,8 @@ do-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+.include <bsd.port.post.mk>
diff --git a/japanese/mobileimap/Makefile b/japanese/mobileimap/Makefile
index 5b32b25b1809..390463c3ee7e 100644
--- a/japanese/mobileimap/Makefile
+++ b/japanese/mobileimap/Makefile
@@ -26,4 +26,8 @@ PLIST_FILES= bin/mobileimap
post-patch:
${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+.include <bsd.port.post.mk>
diff --git a/japanese/ruby-ming/Makefile b/japanese/ruby-ming/Makefile
index 17651506c0ed..488c3a09330f 100644
--- a/japanese/ruby-ming/Makefile
+++ b/japanese/ruby-ming/Makefile
@@ -43,4 +43,8 @@ post-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+.include <bsd.port.post.mk>
diff --git a/multimedia/ruby-flvtool2/Makefile b/multimedia/ruby-flvtool2/Makefile
index acc9cf6e721a..db4d3cf5b78b 100644
--- a/multimedia/ruby-flvtool2/Makefile
+++ b/multimedia/ruby-flvtool2/Makefile
@@ -19,4 +19,8 @@ COMMENT= Manipulation tool for Macromedia Flash Video files
USE_RUBY= yes
USE_RUBY_SETUP= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+.include <bsd.port.post.mk>
diff --git a/net-im/rubygem-termtter/Makefile b/net-im/rubygem-termtter/Makefile
index e38b2ecf8929..e36068e6f479 100644
--- a/net-im/rubygem-termtter/Makefile
+++ b/net-im/rubygem-termtter/Makefile
@@ -26,4 +26,8 @@ USE_RAKE= yes
RUBYGEM_AUTOPLIST= yes
PLIST_FILES= bin/termtter
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+.include <bsd.port.post.mk>
diff --git a/net-im/rubygem-xmpp4r/Makefile b/net-im/rubygem-xmpp4r/Makefile
index 17370c01a020..568e25a74fe5 100644
--- a/net-im/rubygem-xmpp4r/Makefile
+++ b/net-im/rubygem-xmpp4r/Makefile
@@ -18,4 +18,8 @@ USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+.include <bsd.port.post.mk>
diff --git a/security/ruby-acl/Makefile b/security/ruby-acl/Makefile
index 029aa94ec4bb..dd055aa53d7e 100644
--- a/security/ruby-acl/Makefile
+++ b/security/ruby-acl/Makefile
@@ -37,4 +37,8 @@ post-install:
${CP} -R ${WRKSRC}/doc/* ${RUBY_MODDOCDIR}/
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+.include <bsd.port.post.mk>
diff --git a/textproc/eruby/Makefile b/textproc/eruby/Makefile
index 0cd8d2de96f6..4feff21e9719 100644
--- a/textproc/eruby/Makefile
+++ b/textproc/eruby/Makefile
@@ -62,7 +62,7 @@ CONFIGURE_ENV+= EXTRA_LDFLAGS="${EXTRA_LDFLAGS} -pthread"
.endif
.endif
-.if ${RUBY_RELVERSION} == 1.9.1
+.if ${RUBY_RELVERSION} == 1.9.2
CONFIGURE_ENV+= EXTRA_CFLAGS="${EXTRA_CFLAGS} -DWITH_RUBY_19"
.endif
diff --git a/textproc/ruby-erbscan/Makefile b/textproc/ruby-erbscan/Makefile
index 14bc554a4676..66975ad437e2 100644
--- a/textproc/ruby-erbscan/Makefile
+++ b/textproc/ruby-erbscan/Makefile
@@ -20,12 +20,10 @@ USE_RUBY_EXTCONF= yes
INSTALL_TARGET= site-install
-RUBY_REQUIRE= Ruby > 180
-
.include <bsd.port.pre.mk>
-.if !defined(RUBY_PROVIDED)
-IGNORE= only works with Ruby 1.8.0 or later
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
.endif
post-patch:
diff --git a/textproc/ruby-rd-mode.el/Makefile b/textproc/ruby-rd-mode.el/Makefile
index fab31b9310ca..00c2e8311c25 100644
--- a/textproc/ruby-rd-mode.el/Makefile
+++ b/textproc/ruby-rd-mode.el/Makefile
@@ -40,4 +40,8 @@ do-install:
.endfor
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+.include <bsd.port.post.mk>
diff --git a/textproc/ruby-sablot/Makefile b/textproc/ruby-sablot/Makefile
index c61ef7e0651b..6c1036397e8d 100644
--- a/textproc/ruby-sablot/Makefile
+++ b/textproc/ruby-sablot/Makefile
@@ -47,4 +47,8 @@ post-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+.include <bsd.port.post.mk>
diff --git a/textproc/ruby-xslt/Makefile b/textproc/ruby-xslt/Makefile
index 1e34ecf5b3ba..8f88476f0c5b 100644
--- a/textproc/ruby-xslt/Makefile
+++ b/textproc/ruby-xslt/Makefile
@@ -28,4 +28,8 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/README ${RUBY_MODDOCDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+.include <bsd.port.post.mk>
diff --git a/textproc/rubygem-htmltools/Makefile b/textproc/rubygem-htmltools/Makefile
index b9254804eecb..5a16c04667cf 100644
--- a/textproc/rubygem-htmltools/Makefile
+++ b/textproc/rubygem-htmltools/Makefile
@@ -17,4 +17,8 @@ USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+.include <bsd.port.post.mk>
diff --git a/www/mod_ruby/Makefile b/www/mod_ruby/Makefile
index ba505b2519f1..b234aed86062 100644
--- a/www/mod_ruby/Makefile
+++ b/www/mod_ruby/Makefile
@@ -36,6 +36,10 @@ DOCS_JA= README.ja doc/default.css doc/*.ja.*
.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+
.if ${APACHE_VERSION} > 20
CONFIGURE_ARGS+= --with-apr-includes="`${LOCALBASE}/bin/apr-1-config --includedir`"
.endif
diff --git a/www/ruby-http-access/Makefile b/www/ruby-http-access/Makefile
index 5aaff8f5c022..59fac58a5fe8 100644
--- a/www/ruby-http-access/Makefile
+++ b/www/ruby-http-access/Makefile
@@ -29,4 +29,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/README.txt ${RUBY_MODDOCDIR}/
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+.include <bsd.port.post.mk>
diff --git a/www/ruby-nora/Makefile b/www/ruby-nora/Makefile
index 7c718ae78de4..bedb143b94b8 100644
--- a/www/ruby-nora/Makefile
+++ b/www/ruby-nora/Makefile
@@ -29,4 +29,8 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/README.ja ${RUBY_MODDOCDIR}/ja/
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+.include <bsd.port.post.mk>
diff --git a/x11-toolkits/ruby-tk/Makefile b/x11-toolkits/ruby-tk/Makefile
index a66874e82b73..f64b486ff569 100644
--- a/x11-toolkits/ruby-tk/Makefile
+++ b/x11-toolkits/ruby-tk/Makefile
@@ -29,6 +29,10 @@ USE_TK= 84+
.include <bsd.port.pre.mk>
+.if ${RUBY_VER} == 1.9
+BROKEN= does not build with ruby 1.9
+.endif
+
CONFIGURE_ARGS= ${RUBY_CONFIGURE_ARGS} \
--with-X11-dir=${LOCALBASE} \
--with-tcl-include=${TCL_INCLUDEDIR} \