Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154563989
D2239.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1018 B
Referenced Files
None
Subscribers
None
D2239.diff
View Options
Index: Mk/bsd.ruby.mk
===================================================================
--- Mk/bsd.ruby.mk
+++ Mk/bsd.ruby.mk
@@ -212,6 +212,14 @@
RUBY21?= "@comment "
RUBY22?= "@comment "
+.if defined(BROKEN_RUBY${RUBY_VER:R}${RUBY_VER:E})
+.if ${BROKEN_RUBY${RUBY_VER:R}${RUBY_VER:E}} == "yes"
+BROKEN= does not build with Ruby ${RUBY_VER}
+.else
+BROKEN= ${BROKEN_RUBY${RUBY_VER:R}${RUBY_VER:E}}
+.endif
+.endif
+
.if ${RUBY_PATCHLEVEL} == 0
RUBY_VERSION?= ${RUBY_RELVERSION}
RUBY_DISTVERSION?= ${RUBY_RELVERSION}
Index: databases/rubygem-memcache/Makefile
===================================================================
--- databases/rubygem-memcache/Makefile
+++ databases/rubygem-memcache/Makefile
@@ -19,10 +19,7 @@
GEM_ENV +=EXTERNAL_LIB="YES"
CONFIGURE_ARGS= "--with-opt-dir=${LOCALBASE}"
-.include <bsd.port.pre.mk>
+BROKEN_RUBY21= yes
+BROKEN_RUBY22= yes
-.if ${RUBY_VER} >= 2.1
-BROKEN= Does not build with Ruby 2.1
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 29, 10:24 PM (5 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32404662
Default Alt Text
D2239.diff (1018 B)
Attached To
Mode
D2239: Add BROKEN_RUBYxx to simplify Makefile
Attached
Detach File
Event Timeline
Log In to Comment