diff options
author | stas <stas@FreeBSD.org> | 2010-10-11 14:36:41 +0800 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2010-10-11 14:36:41 +0800 |
commit | d71bfe2e0621a4976510e31a4e424d3cae442b08 (patch) | |
tree | 0dbc03c32878544fa2960a24a00d373eff54675f /lang | |
parent | 959acf1c9d6485cce865b121563dc812ddc923a5 (diff) | |
download | freebsd-ports-graphics-d71bfe2e0621a4976510e31a4e424d3cae442b08.tar.gz freebsd-ports-graphics-d71bfe2e0621a4976510e31a4e424d3cae442b08.tar.zst freebsd-ports-graphics-d71bfe2e0621a4976510e31a4e424d3cae442b08.zip |
- Do not link ruby18 agains librt.
- Bump portrevision.
PR: ports/149003
Submitted by: Anonymous <swell.k@gmail.com>
Diffstat (limited to 'lang')
-rw-r--r-- | lang/ruby18/files/patch-configure.in | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/lang/ruby18/files/patch-configure.in b/lang/ruby18/files/patch-configure.in index 35837db6497..391fa3e0489 100644 --- a/lang/ruby18/files/patch-configure.in +++ b/lang/ruby18/files/patch-configure.in @@ -1,6 +1,15 @@ ---- configure.in.orig 2009-01-19 12:25:38.000000000 +0300 -+++ configure.in 2009-06-19 15:35:22.000000000 +0400 -@@ -1020,7 +1020,7 @@ +--- configure.in.orig 2009-12-24 01:10:03.000000000 -0800 ++++ configure.in 2010-10-10 23:21:07.000000000 -0700 +@@ -502,7 +502,7 @@ + AC_CHECK_LIB(crypt, crypt) + AC_CHECK_LIB(dl, dlopen) # Dynamic linking for SunOS/Solaris and SYSV + AC_CHECK_LIB(dld, shl_load) # Dynamic linking for HP-UX +-AC_CHECK_LIB(rt, clock_gettime) # GNU/Linux ++AC_SEARCH_LIBS(clock_gettime, rt) # GNU/Linux + + case "$target_cpu" in + alpha*) case "$target_os"::"$GCC" in +@@ -1021,7 +1021,7 @@ case $pthread_lib in c) ;; @@ -9,7 +18,14 @@ MAINLIBS="-pthread $MAINLIBS" ;; *) -@@ -1037,6 +1037,14 @@ +@@ -1033,11 +1033,19 @@ + fi + AC_CHECK_FUNCS(nanosleep) + if test x"$ac_cv_func_nanosleep" = xno; then +- AC_CHECK_LIB(rt, nanosleep) +- if test x"$ac_cv_lib_rt_nanosleep" = xyes; then ++ AC_SEARCH_LIBS(nanosleep, rt) ++ if test x"$ac_cv_search_nanosleep" != xno; then AC_DEFINE(HAVE_NANOSLEEP) fi fi @@ -24,7 +40,7 @@ fi if test x"$ac_cv_header_ucontext_h" = xyes; then if test x"$rb_with_pthread" = xyes; then -@@ -1441,7 +1449,7 @@ +@@ -1446,7 +1454,7 @@ SOLIBS= case "$target_os" in |