aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2014-03-23 23:31:43 +0800
committerswills <swills@FreeBSD.org>2014-03-23 23:31:43 +0800
commitfb1f98bc4f2cd18e667d1c0979ca246ff58d0a6d (patch)
tree50119b9245c88d48c5dafefa65109275d3bfbd6b
parentdccd349d9335a9e5cd5421d45138e30213ed0c55 (diff)
downloadfreebsd-ports-gnome-fb1f98bc4f2cd18e667d1c0979ca246ff58d0a6d.tar.gz
freebsd-ports-gnome-fb1f98bc4f2cd18e667d1c0979ca246ff58d0a6d.tar.zst
freebsd-ports-gnome-fb1f98bc4f2cd18e667d1c0979ca246ff58d0a6d.zip
- Fix patch broken in r292221
PR: ports/187472 Redported by: Jeremy Chadwick <jdc@koitsu.org>
-rw-r--r--Mk/bsd.ruby.mk6
-rw-r--r--lang/ruby19/files/patch-configure.in26
-rw-r--r--lang/ruby20/files/patch-configure.in18
-rw-r--r--lang/ruby21/files/patch-configure.in18
4 files changed, 34 insertions, 34 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk
index 5d61a97d23fd..105b75d28c20 100644
--- a/Mk/bsd.ruby.mk
+++ b/Mk/bsd.ruby.mk
@@ -177,7 +177,7 @@ RUBY?= ${LOCALBASE}/bin/${RUBY_NAME}
# Ruby 1.9
#
RUBY_RELVERSION= 1.9.3
-RUBY_PORTREVISION= 1
+RUBY_PORTREVISION= 2
RUBY_PORTEPOCH= 1
RUBY_PATCHLEVEL= 484
@@ -193,7 +193,7 @@ RUBY21= "@comment "
# Ruby 2.0
#
RUBY_RELVERSION= 2.0.0
-RUBY_PORTREVISION= 4
+RUBY_PORTREVISION= 5
RUBY_PORTEPOCH= 1
RUBY_PATCHLEVEL= 353
@@ -209,7 +209,7 @@ RUBY21= "@comment "
# Ruby 2.1
#
RUBY_RELVERSION= 2.1.1
-RUBY_PORTREVISION= 0
+RUBY_PORTREVISION= 1
RUBY_PORTEPOCH= 1
RUBY_PATCHLEVEL= 0
diff --git a/lang/ruby19/files/patch-configure.in b/lang/ruby19/files/patch-configure.in
index 3ba840dc4a62..f7acf1f7412e 100644
--- a/lang/ruby19/files/patch-configure.in
+++ b/lang/ruby19/files/patch-configure.in
@@ -1,6 +1,6 @@
---- configure.in.orig 2013-02-11 14:33:14.000000000 +0000
-+++ configure.in 2013-02-11 14:30:13.000000000 +0000
-@@ -1129,11 +1129,11 @@
+--- configure.in.orig 2014-03-20 05:49:55.847385089 +0000
++++ configure.in 2014-03-20 05:50:09.238383528 +0000
+@@ -1139,11 +1139,11 @@
[superux*], [ ac_cv_func_setitimer=no
],
[ LIBS="-lm $LIBS"])
@@ -17,7 +17,7 @@
if test "${enable_win95}" = maybe; then
AC_HAVE_LIBRARY(unicows, [enable_win95=yes], [enable_win95=no])
fi
-@@ -1828,7 +1828,7 @@
+@@ -1789,7 +1789,7 @@
fi
if test x"$enable_pthread" = xyes; then
@@ -26,15 +26,15 @@
AC_CHECK_LIB($pthread_lib, pthread_kill,
rb_with_pthread=yes, rb_with_pthread=no)
if test "$rb_with_pthread" = "yes"; then break; fi
-@@ -1836,6 +1836,7 @@
- if test x"$rb_with_pthread" = xyes; then
- AC_DEFINE(_REENTRANT)
- AC_DEFINE(_THREAD_SAFE)
+@@ -1803,6 +1803,7 @@
+ [c], [],
+ [root], [],
+ [c_r], [MAINLIBS="-pthread $MAINLIBS"],
+ [pthread], [MAINLIBS="-pthread $MAINLIBS"],
- AC_DEFINE(HAVE_LIBPTHREAD)
- AC_CHECK_HEADERS(pthread_np.h, [], [], [@%:@include <pthread.h>])
- AS_CASE([$pthread_lib],
-@@ -2080,7 +2081,6 @@
+ [AS_CASE(["$target_os"],
+ [openbsd*], [LIBS="-pthread $LIBS"],
+ [LIBS="-l$pthread_lib $LIBS"])])
+@@ -2041,7 +2042,6 @@
: ${LDSHARED='$(CC) -shared'}
if test "$rb_cv_binary_elf" = yes; then
LDFLAGS="$LDFLAGS -rdynamic"
@@ -42,7 +42,7 @@
else
test "$GCC" = yes && test "$rb_cv_prog_gnu_ld" = yes || LDSHARED="ld -Bshareable"
fi
-@@ -2385,6 +2385,7 @@
+@@ -2348,6 +2348,7 @@
[freebsd*|dragonfly*], [
SOLIBS='$(LIBS)'
LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR)'
diff --git a/lang/ruby20/files/patch-configure.in b/lang/ruby20/files/patch-configure.in
index f4bc7a6c177d..4905f9ec8717 100644
--- a/lang/ruby20/files/patch-configure.in
+++ b/lang/ruby20/files/patch-configure.in
@@ -1,5 +1,5 @@
---- configure.in.orig 2014-02-17 23:37:01.241643774 +0000
-+++ configure.in 2014-02-17 23:38:03.349639470 +0000
+--- configure.in.orig 2014-03-20 05:47:33.807394460 +0000
++++ configure.in 2014-03-20 05:47:49.855394229 +0000
@@ -1386,11 +1386,11 @@
AC_CHECK_DECLS([sys_nerr], [], [], [$ac_includes_default
@%:@include <errno.h>])
@@ -26,14 +26,14 @@
AC_CHECK_LIB($pthread_lib, pthread_kill,
rb_with_pthread=yes, rb_with_pthread=no)
if test "$rb_with_pthread" = "yes"; then break; fi
-@@ -2089,6 +2089,7 @@
- if test x"$rb_with_pthread" = xyes; then
- AC_DEFINE(_REENTRANT)
- AC_DEFINE(_THREAD_SAFE)
+@@ -2095,6 +2095,7 @@
+ [c], [],
+ [root], [],
+ [c_r], [MAINLIBS="-pthread $MAINLIBS"],
+ [pthread], [MAINLIBS="-pthread $MAINLIBS"],
- AC_DEFINE(HAVE_LIBPTHREAD)
- AC_CHECK_HEADERS(pthread_np.h, [], [], [@%:@include <pthread.h>])
- AS_CASE([$pthread_lib],
+ [AS_CASE(["$target_os"],
+ [openbsd*], [LIBS="-pthread $LIBS"],
+ [LIBS="-l$pthread_lib $LIBS"])])
@@ -2326,7 +2327,6 @@
: ${LDSHARED='$(CC) -shared'}
if test "$rb_cv_binary_elf" = yes; then
diff --git a/lang/ruby21/files/patch-configure.in b/lang/ruby21/files/patch-configure.in
index 0f309e87cb68..3153a0629187 100644
--- a/lang/ruby21/files/patch-configure.in
+++ b/lang/ruby21/files/patch-configure.in
@@ -1,5 +1,5 @@
---- configure.in.orig 2014-02-21 23:32:34.000000000 +0000
-+++ configure.in 2014-02-24 14:54:59.432610152 +0000
+--- configure.in.orig 2014-03-20 05:40:57.873422152 +0000
++++ configure.in 2014-03-20 05:40:57.873422152 +0000
@@ -1084,10 +1084,10 @@
],
[ LIBS="-lm $LIBS"])
@@ -33,14 +33,14 @@
AC_CHECK_LIB($pthread_lib, pthread_kill,
rb_with_pthread=yes, rb_with_pthread=no)
if test "$rb_with_pthread" = "yes"; then break; fi
-@@ -2431,6 +2431,7 @@
- if test x"$rb_with_pthread" = xyes; then
- AC_DEFINE(_REENTRANT)
- AC_DEFINE(_THREAD_SAFE)
+@@ -2437,6 +2437,7 @@
+ [c], [],
+ [root], [],
+ [c_r], [MAINLIBS="-pthread $MAINLIBS"],
+ [pthread], [MAINLIBS="-pthread $MAINLIBS"],
- AC_DEFINE(HAVE_LIBPTHREAD)
- AC_CHECK_HEADERS(pthread_np.h, [], [], [@%:@include <pthread.h>])
- AS_CASE([$pthread_lib],
+ [AS_CASE(["$target_os"],
+ [openbsd*|mirbsd*], [LIBS="-pthread $LIBS"],
+ [LIBS="-l$pthread_lib $LIBS"])])
@@ -2668,7 +2669,6 @@
: ${LDSHARED='$(CC) -shared'}
if test "$rb_cv_binary_elf" = yes; then