Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2014 17:47:06 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r372456 - in head: Mk lang/ruby20 lang/ruby21
Message-ID:  <201411111747.sABHl6qQ015398@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Tue Nov 11 17:47:06 2014
New Revision: 372456
URL: https://svnweb.freebsd.org/changeset/ports/372456
QAT: https://qat.redports.org/buildarchive/r372456/

Log:
  lang/ruby2*: disable dtrace on OS versions without the dtrace fixes from r271413
  
  While here, fix plist issues

Modified:
  head/Mk/bsd.ruby.mk
  head/lang/ruby20/Makefile
  head/lang/ruby20/pkg-plist
  head/lang/ruby21/Makefile
  head/lang/ruby21/pkg-plist

Modified: head/Mk/bsd.ruby.mk
==============================================================================
--- head/Mk/bsd.ruby.mk	Tue Nov 11 16:30:26 2014	(r372455)
+++ head/Mk/bsd.ruby.mk	Tue Nov 11 17:47:06 2014	(r372456)
@@ -193,7 +193,7 @@ RUBY21=			"@comment "
 # Ruby 2.0
 #
 RUBY_RELVERSION=	2.0.0
-RUBY_PORTREVISION=	2
+RUBY_PORTREVISION=	3
 RUBY_PORTEPOCH=		1
 RUBY_PATCHLEVEL=	576
 
@@ -209,7 +209,7 @@ RUBY21=			"@comment "
 # Ruby 2.1
 #
 RUBY_RELVERSION=	2.1.3
-RUBY_PORTREVISION=	2
+RUBY_PORTREVISION=	3
 RUBY_PORTEPOCH=		1
 RUBY_PATCHLEVEL=	0
 

Modified: head/lang/ruby20/Makefile
==============================================================================
--- head/lang/ruby20/Makefile	Tue Nov 11 16:30:26 2014	(r372455)
+++ head/lang/ruby20/Makefile	Tue Nov 11 17:47:06 2014	(r372456)
@@ -86,9 +86,7 @@ CPPFLAGS+=	-I${LOCALBASE}/include
 LIBS+=		-L${LOCALBASE}/lib ${PTHREAD_LIBS}
 
 .if ${OPSYS} == "FreeBSD"
-.if exists(/usr/sbin/dtrace) && \
-	((${ARCH} == "i386" && ${OSVERSION} > 1010000) || \
-	(${ARCH} == "amd64" && ${OSVERSION} > 903000))
+.if exists(/usr/sbin/dtrace) && (${OSVERSION} > 1100032)
 CONFIGURE_ARGS+=	--enable-dtrace
 .else
 CONFIGURE_ARGS+=	--disable-dtrace

Modified: head/lang/ruby20/pkg-plist
==============================================================================
--- head/lang/ruby20/pkg-plist	Tue Nov 11 16:30:26 2014	(r372455)
+++ head/lang/ruby20/pkg-plist	Tue Nov 11 17:47:06 2014	(r372456)
@@ -17128,3 +17128,7 @@ man/man1/%%RUBY_NAME%%.1.gz
 %%RDOC%%%%RUBY_RIDIR%%/syntax/page-modules_and_classes_rdoc.ri
 %%RDOC%%%%RUBY_RIDIR%%/syntax/page-precedence_rdoc.ri
 %%RDOC%%%%RUBY_RIDIR%%/syntax/page-refinements_rdoc.ri
+@dir %%RUBY_LIBDIR%%/racc/rdoc
+@dir %%RUBY_SITEARCHLIBDIR%%
+@dir %%RUBY_VENDORARCHLIBDIR%%
+@dir %%RUBY_SITERIDIR%%

Modified: head/lang/ruby21/Makefile
==============================================================================
--- head/lang/ruby21/Makefile	Tue Nov 11 16:30:26 2014	(r372455)
+++ head/lang/ruby21/Makefile	Tue Nov 11 17:47:06 2014	(r372456)
@@ -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

Modified: head/lang/ruby21/pkg-plist
==============================================================================
--- head/lang/ruby21/pkg-plist	Tue Nov 11 16:30:26 2014	(r372455)
+++ head/lang/ruby21/pkg-plist	Tue Nov 11 17:47:06 2014	(r372456)
@@ -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%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411111747.sABHl6qQ015398>