Skip to content

Commit

Permalink
lang/ruby{2,3}*: enable dtrace on powerpc64le and bump PORTREVISION
Browse files Browse the repository at this point in the history
Since dtrace is currently disabled on ruby3*, bump PORTREVISION only on ruby2*
  • Loading branch information
pkubaj committed Jan 23, 2022
1 parent 0ee4695 commit f3ed92a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Mk/bsd.ruby.mk
Expand Up @@ -136,7 +136,7 @@ RUBY?= ${LOCALBASE}/bin/ruby${RUBY_SUFFIX}
# Ruby 2.6
#
RUBY_DISTVERSION= 2.6.9
RUBY_PORTREVISION= 0
RUBY_PORTREVISION= 1
RUBY_PORTEPOCH= 1
RUBY26= "" # PLIST_SUB helpers

Expand All @@ -145,7 +145,7 @@ RUBY26= "" # PLIST_SUB helpers
# Ruby 2.7
#
RUBY_DISTVERSION= 2.7.5
RUBY_PORTREVISION= 0
RUBY_PORTREVISION= 1
RUBY_PORTEPOCH= 1
RUBY27= "" # PLIST_SUB helpers

Expand Down
2 changes: 1 addition & 1 deletion lang/ruby26/Makefile
Expand Up @@ -88,7 +88,7 @@ _SUF2= ,${PORTEPOCH}
.endif

.if ${OPSYS} == "FreeBSD"
.if exists(/usr/sbin/dtrace) && (${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH} == powerpc64 || ${ARCH} == powerpc)
.if exists(/usr/sbin/dtrace) && (${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH} == powerpc64le || ${ARCH} == powerpc64 || ${ARCH} == powerpc)
CONFIGURE_ARGS+=--enable-dtrace
.else
CONFIGURE_ARGS+=--disable-dtrace
Expand Down
2 changes: 1 addition & 1 deletion lang/ruby27/Makefile
Expand Up @@ -85,7 +85,7 @@ _SUF2= ,${PORTEPOCH}
.endif

.if ${OPSYS} == "FreeBSD"
.if exists(/usr/sbin/dtrace) && (${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH} == powerpc64 || ${ARCH} == powerpc)
.if exists(/usr/sbin/dtrace) && (${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH} == powerpc64le || ${ARCH} == powerpc64 || ${ARCH} == powerpc)
CONFIGURE_ARGS+=--enable-dtrace
.else
CONFIGURE_ARGS+=--disable-dtrace
Expand Down
2 changes: 1 addition & 1 deletion lang/ruby30/Makefile
Expand Up @@ -84,7 +84,7 @@ _SUF2= ,${PORTEPOCH}
.endif

#.if ${OPSYS} == "FreeBSD"
#.if exists(/usr/sbin/dtrace) && (${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH} == powerpc64 || ${ARCH} == powerpc)
#.if exists(/usr/sbin/dtrace) && (${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH} == powerpc64le || ${ARCH} == powerpc64 || ${ARCH} == powerpc)
#CONFIGURE_ARGS+=--enable-dtrace
#.else
#CONFIGURE_ARGS+=--disable-dtrace
Expand Down
2 changes: 1 addition & 1 deletion lang/ruby31/Makefile
Expand Up @@ -85,7 +85,7 @@ _SUF2= ,${PORTEPOCH}
.endif

#.if ${OPSYS} == "FreeBSD"
#.if exists(/usr/sbin/dtrace) && (${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH} == powerpc64 || ${ARCH} == powerpc)
#.if exists(/usr/sbin/dtrace) && (${ARCH} == amd64 || ${ARCH} == i386 || ${ARCH} == powerpc64le || ${ARCH} == powerpc64 || ${ARCH} == powerpc)
#CONFIGURE_ARGS+=--enable-dtrace
#.else
#CONFIGURE_ARGS+=--disable-dtrace
Expand Down

0 comments on commit f3ed92a

Please sign in to comment.