aboutsummaryrefslogtreecommitdiff
path: root/lang/ruby21
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2014-11-11 17:47:06 +0000
committerSteve Wills <swills@FreeBSD.org>2014-11-11 17:47:06 +0000
commit96bf5348380ae25c4f2d1a28c97cd5ae03527e1c (patch)
treee7976afc0fc2f95caeef350bb51606f6ac1b4c8e /lang/ruby21
parent0269206b2563ce6e7f9dac45eb0cf2fd2136144b (diff)
downloadports-96bf5348380ae25c4f2d1a28c97cd5ae03527e1c.tar.gz
ports-96bf5348380ae25c4f2d1a28c97cd5ae03527e1c.zip
Notes
Diffstat (limited to 'lang/ruby21')
-rw-r--r--lang/ruby21/Makefile2
-rw-r--r--lang/ruby21/pkg-plist5
2 files changed, 6 insertions, 1 deletions
diff --git a/lang/ruby21/Makefile b/lang/ruby21/Makefile
index 56dc3c677863..fff5efda5b25 100644
--- a/lang/ruby21/Makefile
+++ b/lang/ruby21/Makefile
@@ -85,7 +85,7 @@ CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
.if ${OPSYS} == "FreeBSD"
-.if (${ARCH} == "i386" && ${OSVERSION} > 1010000) || (${ARCH} == "amd64" && ${OSVERSION} > 903000)
+.if exists(/usr/sbin/dtrace) && (${OSVERSION} > 1100032)
CONFIGURE_ARGS+= --enable-dtrace
.else
CONFIGURE_ARGS+= --disable-dtrace
diff --git a/lang/ruby21/pkg-plist b/lang/ruby21/pkg-plist
index 4ddf954e376e..5ea9ffe05d31 100644
--- a/lang/ruby21/pkg-plist
+++ b/lang/ruby21/pkg-plist
@@ -16907,3 +16907,8 @@ man/man1/%%RUBY_NAME%%.1.gz
%%RDOC%%%%RUBY_RIDIR%%/syntax/page-precedence_rdoc.ri
%%RDOC%%%%RUBY_RIDIR%%/syntax/page-refinements_rdoc.ri
%%RDOC%%%%RUBY_RIDIR%%/unknown/cdesc-unknown.ri
+@dir %%RUBY_LIBDIR%%/racc/rdoc
+@dir %%RUBY_SITEARCHLIBDIR%%
+@dir %%RUBY_VENDORARCHLIBDIR%%
+@dir %%RUBY_EXAMPLESDIR%%/curses
+@dir %%RUBY_SITERIDIR%%