mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-28 10:08:24 +00:00
Remove lang/ruby19 which reached its end-of-life on 2015-02-23
Add a note to UPDATING for ruby19 users. Differential Revision: https://reviews.freebsd.org/D1954 Submitted by: myself Reviewed by: ruby (swills, sunpoet) Approved by: ruby (swills)
This commit is contained in:
parent
1c43656607
commit
22f0609652
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=379837
1
MOVED
1
MOVED
@ -7425,3 +7425,4 @@ sysutils/rsyslog7-devel|sysutils/rsyslog7|2015-02-13|Has expired: EoL, use sysut
|
||||
sysutils/rsyslog8-devel|sysutils/rsyslog8|2015-02-13|Has expired: EoL, use sysutils/rsyslog8
|
||||
japanese/mozc-additions||2015-02-15|Obsoleted by mozc script in japanese/mozc-server
|
||||
math/ruby-numru_units|math/rubygem-numru-units|2015-02-22|Long time broken. Please use math/rubygem-numru-units instead
|
||||
lang/ruby19|lang/ruby20|2015-02-24|Upstream support ended February 23, 2015
|
||||
|
@ -15,7 +15,7 @@ Ruby_Include_MAINTAINER= ruby@FreeBSD.org
|
||||
# [variables that a user may define]
|
||||
#
|
||||
# RUBY_VER - (See below)
|
||||
# RUBY_DEFAULT_VER - Set to (e.g.) "1.9" if you want to refer to "ruby19"
|
||||
# RUBY_DEFAULT_VER - Set to (e.g.) "2.0" if you want to refer to "ruby20"
|
||||
# just as "ruby".
|
||||
# RUBY_ARCH - (See below)
|
||||
# RUBY_RD_HTML - Define if you want HTML files generated from RD files.
|
||||
@ -172,17 +172,7 @@ _RUBY_VENDORDIR!= ${_RUBY_CONFIG} 'puts C["vendordir"]'
|
||||
RUBY?= ${LOCALBASE}/bin/${RUBY_NAME}
|
||||
|
||||
.if defined(RUBY_VER)
|
||||
. if ${RUBY_VER} == 1.9
|
||||
#
|
||||
# Ruby 1.9
|
||||
#
|
||||
RUBY_RELVERSION= 1.9.3
|
||||
RUBY_PORTREVISION= 2
|
||||
RUBY_PORTEPOCH= 1
|
||||
RUBY_PATCHLEVEL= 551
|
||||
RUBY19= "" # PLIST_SUB helpers
|
||||
|
||||
. elif ${RUBY_VER} == 2.0
|
||||
. if ${RUBY_VER} == 2.0
|
||||
#
|
||||
# Ruby 2.0
|
||||
#
|
||||
@ -216,11 +206,10 @@ RUBY22= "" # PLIST_SUB helpers
|
||||
#
|
||||
# Other versions
|
||||
#
|
||||
IGNORE= Only ruby 1.9, 2.0, 2.1 and 2.2 are supported
|
||||
IGNORE= Only ruby 2.0, 2.1 and 2.2 are supported
|
||||
. endif
|
||||
.endif # defined(RUBY_VER)
|
||||
|
||||
RUBY19?= "@comment "
|
||||
RUBY20?= "@comment "
|
||||
RUBY21?= "@comment "
|
||||
RUBY22?= "@comment "
|
||||
@ -352,7 +341,6 @@ PLIST_SUB+= ${PLIST_RUBY_DIRS:C,DIR="(${LOCALBASE}|${PREFIX})/,DIR=",} \
|
||||
RUBY_SUFFIX="${RUBY_SUFFIX}" \
|
||||
RUBY_NAME="${RUBY_NAME}" \
|
||||
RUBY_DEFAULT_SUFFIX="${RUBY_DEFAULT_SUFFIX}" \
|
||||
RUBY19=${RUBY19} \
|
||||
RUBY20=${RUBY20} \
|
||||
RUBY21=${RUBY21} \
|
||||
RUBY22=${RUBY22}
|
||||
@ -581,19 +569,6 @@ RUN_DEPENDS+= ${DEPEND_RUBY}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if defined(USE_RUBY_FEATURES)
|
||||
|
||||
_use= ${USE_RUBY_FEATURES:Miconv}
|
||||
.if !empty(_use)
|
||||
.if (${RUBY_VER} == 1.9)
|
||||
BUILD_DEPENDS+= ${DEPEND_RUBY_ICONV}
|
||||
RUN_DEPENDS+= ${DEPEND_RUBY_ICONV}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.undef _use
|
||||
.endif
|
||||
|
||||
.if defined(USE_RAKE)
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/rake:${PORTSDIR}/devel/rubygem-rake
|
||||
RAKE_BIN= ${LOCALBASE}/bin/rake
|
||||
|
9
UPDATING
9
UPDATING
@ -6,6 +6,15 @@ You should get into the habit of checking this file for changes each time
|
||||
you update your ports collection, before attempting any port upgrades.
|
||||
|
||||
20150224:
|
||||
AFFECTS: Users of lang/ruby19
|
||||
|
||||
lang/ruby19 has reached its end-of-life and has been removed. The
|
||||
default version has been 2.0 for a while. Other available versions
|
||||
are Ruby 2.1 and Ruby 2.2.
|
||||
|
||||
Users who have DEFAULT_VERSIONS=ruby=1.9 in their /etc/make.conf are
|
||||
encouraged to remove it or change it to an available version.
|
||||
|
||||
AFFECTS: Users of net-p2p/bitcoin (cli utilities)
|
||||
|
||||
The bitcoin-cli and bitcoin-tx utilities have been re-packaged into
|
||||
|
@ -268,7 +268,6 @@
|
||||
SUBDIR += rexx-wrapper
|
||||
SUBDIR += rhino
|
||||
SUBDIR += rubinius
|
||||
SUBDIR += ruby19
|
||||
SUBDIR += ruby20
|
||||
SUBDIR += ruby21
|
||||
SUBDIR += ruby22
|
||||
|
@ -1,246 +0,0 @@
|
||||
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= ruby
|
||||
PORTVERSION= ${RUBY_PORTVERSION}
|
||||
PORTREVISION= ${RUBY_PORTREVISION}
|
||||
PORTEPOCH= ${RUBY_PORTEPOCH}
|
||||
CATEGORIES= lang ruby ipv6
|
||||
MASTER_SITES= ${MASTER_SITE_RUBY}
|
||||
MASTER_SITE_SUBDIR= ${MASTER_SITE_SUBDIR_RUBY}
|
||||
DISTNAME= ${RUBY_DISTNAME}
|
||||
DIST_SUBDIR= ruby
|
||||
|
||||
MAINTAINER= ruby@FreeBSD.org
|
||||
COMMENT?= Object-oriented interpreted scripting language
|
||||
|
||||
LICENSE= BSD2CLAUSE RUBY
|
||||
LICENSE_COMB= dual
|
||||
|
||||
LIB_DEPENDS= libyaml.so:${PORTSDIR}/textproc/libyaml
|
||||
|
||||
# Using LIB_DEPENDS finds the libffi from gcc which causes problems
|
||||
BUILD_DEPENDS= libffi>=0:${PORTSDIR}/devel/libffi
|
||||
RUN_DEPENDS= libffi>=0:${PORTSDIR}/devel/libffi
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
WRKSRC= ${RUBY_WRKSRC}
|
||||
CONFIGURE_ARGS= ${RUBY_CONFIGURE_ARGS} \
|
||||
--enable-shared \
|
||||
--enable-pthread \
|
||||
--disable-rpath \
|
||||
--with-ruby-version=minor \
|
||||
--with-sitedir="${PREFIX}/lib/ruby/site_ruby" \
|
||||
--with-vendordir="${PREFIX}/lib/ruby/vendor_ruby"
|
||||
|
||||
CONFIGURE_ENV+= LC_ALL=C
|
||||
MAKE_ENV+= LC_ALL=C
|
||||
|
||||
USE_OPENSSL= yes
|
||||
USE_LDCONFIG= yes
|
||||
USE_AUTOTOOLS= autoconf
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${RUBY_DISTVERSION}
|
||||
|
||||
RUBY_VER= 1.9
|
||||
USE_RUBY= yes
|
||||
RUBY_NO_BUILD_DEPENDS= yes
|
||||
RUBY_NO_RUN_DEPENDS= yes
|
||||
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
NO_LATEST_LINK= yes
|
||||
|
||||
OPTIONS_DEFINE= CAPIDOCS DEBUG DOCS EXAMPLES RDOC
|
||||
OPTIONS_DEFAULT= RDOC LIBEDIT
|
||||
OPTIONS_SINGLE= EDIT
|
||||
OPTIONS_SINGLE_EDIT= LIBEDIT READLINE
|
||||
OPTIONS_SUB= yes
|
||||
CAPIDOCS_DESC= Build and install C API documents
|
||||
RDOC_DESC= Build and install Rdoc indexes
|
||||
EDIT_DESC= Which line editing lib to use
|
||||
LIBEDIT_DESC= Use libedit
|
||||
READLINE_DESC= Use libreadline
|
||||
CAPIDOCS_BUILD_DEPENDS= doxygen>0:${PORTSDIR}/devel/doxygen \
|
||||
dot:${PORTSDIR}/graphics/graphviz
|
||||
CAPIDOCS_CONFIGURE_OFF= --disable-install-capi
|
||||
RDOC_CONFIGURE_OFF= --disable-install-rdoc
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
USES= cpe execinfo tar:bzip2
|
||||
|
||||
CPE_VENDOR= ruby-lang
|
||||
CPE_VERSION= ${RUBY_RELVERSION}
|
||||
CPE_UPDATE= p${RUBY_PATCHLEVEL}
|
||||
|
||||
DEPRECATED= Upstream support ends February 23, 2015
|
||||
EXPIRATION_DATE= 2015-02-23
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# PORTEPOCH/PORTREVISION hack
|
||||
|
||||
.if ${PORTEPOCH} != 0
|
||||
_SUF2= ,${PORTEPOCH}
|
||||
.endif
|
||||
|
||||
.if ${PORTREVISION} != 0
|
||||
_SUF1= _${PORTREVISION}
|
||||
.endif
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
# Keep this, else ruby will fail to load libraries dependent op libpthread.
|
||||
LIBS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
||||
|
||||
CONFIGURE_ENV= debugflags=
|
||||
|
||||
.if ${PORT_OPTIONS:MLIBEDIT}
|
||||
BUILD_DEPENDS+= libedit>=0:${PORTSDIR}/devel/libedit
|
||||
RUN_DEPENDS+= libedit>=0:${PORTSDIR}/devel/libedit
|
||||
CONFIGURE_ARGS+= --enable-libedit --with-libedit-prefix=${LOCALBASE}
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MREADLINE}
|
||||
BUILD_DEPENDS+= readline>=0:${PORTSDIR}/devel/readline
|
||||
RUN_DEPENDS+= readline>=0:${PORTSDIR}/devel/readline
|
||||
CONFIGURE_ARGS+= --disable-libedit --with-readline-prefix=${LOCALBASE}
|
||||
.endif
|
||||
|
||||
.if ${RUBY_VER} == ${RUBY_DEFAULT_VER}
|
||||
MLINKS= ${RUBY_NAME}.1 ruby.1
|
||||
PLIST_SUB+= IF_DEFAULT=""
|
||||
.else
|
||||
PKGNAMESUFFIX= ${RUBY_VER:C/\.//}
|
||||
PLIST_SUB+= IF_DEFAULT="@comment "
|
||||
.endif
|
||||
|
||||
INSTALLED_SCRIPTS= irb erb rdoc ri ruby testrb
|
||||
|
||||
EXTSAMPLES= bigdecimal/sample/*.rb \
|
||||
curses/hello.rb \
|
||||
curses/rain.rb \
|
||||
curses/view.rb \
|
||||
curses/view2.rb
|
||||
|
||||
EXTDOCS= bigdecimal/bigdecimal_*.html \
|
||||
readline/README* \
|
||||
ripper/README \
|
||||
stringio/README \
|
||||
syslog/syslog.txt
|
||||
|
||||
# Macros to change variables in rbconfig.rb
|
||||
RB_SET_CONF_VAR=${SH} -c '${REINPLACE_CMD} -E -e "s,(CONFIG\[\"$$0\"\][[:space:]]*=[[:space:]]*)(\(?)(.*)(\)?),\1\2$$1\4," ${WRKSRC}/rbconfig.rb' --
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -E \
|
||||
-e 's,-l$$pthread_lib,${PTHREAD_LIBS},g' \
|
||||
-e '/^RUBY_LIB_PATH/s,\.\$$\{TEENY\},,' \
|
||||
-e '/^RUBY_SITE_LIB_PATH2/s,\.\$$\{TEENY\},,' \
|
||||
-e '/^RUBY_VENDOR_LIB_PATH2/s,\.\$$\{TEENY\},,' \
|
||||
${WRKSRC}/configure
|
||||
|
||||
#
|
||||
# Eliminate all leftovers
|
||||
#
|
||||
@${FIND} ${WRKSRC}/ -name "*.orig" -delete
|
||||
|
||||
#
|
||||
# Remove modules we don't want
|
||||
#
|
||||
.for d in win32ole
|
||||
${RM} -rf ${BUILD_WRKSRC}/ext/${d}
|
||||
.endfor
|
||||
# We get rake from ports.
|
||||
.for d in bin/rake doc/rake lib/rake test/rake man/rake.1 lib/rake.rb
|
||||
${RM} -rf ${BUILD_WRKSRC}/${d}
|
||||
.endfor
|
||||
# We get the gem executable from ports.
|
||||
${RM} ${BUILD_WRKSRC}/bin/gem
|
||||
|
||||
#
|
||||
# Prepare modules we are wanting to build via external ports
|
||||
#
|
||||
.for d in gdbm iconv tk
|
||||
${MV} ${BUILD_WRKSRC}/ext/${d} ${WRKDIR}/
|
||||
.endfor
|
||||
|
||||
post-build:
|
||||
#
|
||||
# Hack to allow modules to be installed into separate PREFIX and/or under user
|
||||
# privilegies
|
||||
#
|
||||
@${RB_SET_CONF_VAR} "prefix" "ENV['PREFIX'] || \3"
|
||||
@${RB_SET_CONF_VAR} "INSTALL" "ENV['RB_USER_INSTALL'] ? '/usr/bin/install -c' : '/usr/bin/install -c ${_BINOWNGRP}'"
|
||||
@${RB_SET_CONF_VAR} "INSTALL_PROGRAM" "ENV['RB_USER_INSTALL'] ? '${INSTALL} ${COPY} ${STRIP} -m ${BINMODE}' : '${INSTALL_PROGRAM}'"
|
||||
@${RB_SET_CONF_VAR} "INSTALL_SCRIPT" "ENV['RB_USER_INSTALL'] ? '${INSTALL} ${COPY} -m ${BINMODE}' : '${INSTALL_SCRIPT}'"
|
||||
@${RB_SET_CONF_VAR} "INSTALL_DATA" "ENV['RB_USER_INSTALL'] ? '${INSTALL} ${COPY} -m ${SHAREMODE}' : '${INSTALL_DATA}'"
|
||||
.if ${PORT_OPTIONS:MCAPIDOCS}
|
||||
${FIND} ${WRKSRC}/doc -type d -empty -delete
|
||||
.endif
|
||||
|
||||
pre-su-install:
|
||||
${MKDIR} ${STAGEDIR}${RUBY_SITEARCHLIBDIR}
|
||||
${MKDIR} ${STAGEDIR}${RUBY_VENDORARCHLIBDIR}
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${STAGEDIR}${RUBY_DOCDIR}
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
${MKDIR} ${STAGEDIR}${RUBY_EXAMPLESDIR}
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MRDOC}
|
||||
${MKDIR} ${STAGEDIR}${RUBY_RIDIR}
|
||||
${MKDIR} ${STAGEDIR}${RUBY_SITERIDIR}
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
#
|
||||
# XXX: hack to strip ruby binary. Ruby uses its own install script that seems
|
||||
# bogus to hack.
|
||||
#
|
||||
.if defined(STRIP) && ${STRIP} == -s && ! ${PORT_OPTIONS:MDEBUG}
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${RUBY_NAME}
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libruby${RUBY_SHLIBVER}.so.${RUBY_SHLIBVER}
|
||||
${FIND} ${STAGEDIR}${RUBY_ARCHLIBDIR} -type f -name '*\.so' -exec ${STRIP_CMD} {} \;
|
||||
.endif
|
||||
|
||||
#
|
||||
# Link just installed "ruby" to "ruby19", etc.
|
||||
#
|
||||
.if ${RUBY_VER} == ${RUBY_DEFAULT_VER}
|
||||
. for FILE in ${INSTALLED_SCRIPTS}
|
||||
${LN} -f ${STAGEDIR}${PREFIX}/bin/${FILE}${RUBY_SUFFIX} ${STAGEDIR}${PREFIX}/bin/${FILE}
|
||||
. endfor
|
||||
.endif
|
||||
|
||||
# Create all dirs required (":u" isn't avaiable in STABLE yet :-()
|
||||
${MKDIR} ${EXTSAMPLES:C,^([^/]+)/.*,\1,:S,^,${STAGEDIR}${RUBY_EXAMPLESDIR}/,}
|
||||
${MKDIR} ${EXTDOCS:C,^([^/]+)/.*,\1,:S,^,${STAGEDIR}${RUBY_DOCDIR}/,}
|
||||
.for FILE in ${EXTSAMPLES}
|
||||
${INSTALL_DATA} ${WRKSRC}/ext/${FILE} \
|
||||
${STAGEDIR}${RUBY_EXAMPLESDIR}/${FILE:C,^([^/]+)/.*,\1,}/
|
||||
.endfor
|
||||
.for FILE in ${EXTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/ext/${FILE} \
|
||||
${STAGEDIR}${RUBY_DOCDIR}/${FILE:C,^([^/]+)/.*,\1,}/
|
||||
.endfor
|
||||
@(cd ${WRKSRC}/sample/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${RUBY_EXAMPLESDIR}/)
|
||||
@(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${RUBY_DOCDIR}/)
|
||||
${INSTALL_DATA} ${WRKSRC}/COPYING* \
|
||||
${WRKSRC}/ChangeLog \
|
||||
${WRKSRC}/LEGAL \
|
||||
${WRKSRC}/README* \
|
||||
${STAGEDIR}${RUBY_DOCDIR}/
|
||||
|
||||
test:
|
||||
@(cd ${WRKSRC}; ${MAKE} test)
|
||||
|
||||
validate:
|
||||
@${MKDIR} ${WRKSRC}/rubyspec
|
||||
rm -rf ${WRKSRC}/rubyspec/*
|
||||
(cd ${WRKSRC}/rubyspec && git clone git://github.com/rubyspec/rubyspec.git)
|
||||
(cd ${WRKSRC}/rubyspec/rubyspec && git checkout 1.x)
|
||||
(cd ${WRKSRC}/rubyspec && git clone git://github.com/rubyspec/mspec.git)
|
||||
(cd ${WRKSRC}/rubyspec/rubyspec && env PATH=${WRKSRC}/rubyspec/mspec/bin:${PATH} mspec -t ${PREFIX}/bin/ruby${RUBY_SUFFIX} .)
|
||||
|
||||
.include <bsd.port.post.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (ruby/ruby-1.9.3-p551.tar.bz2) = b0c5e37e3431d58613a160504b39542ec687d473de1d4da983dabcf3c5de771e
|
||||
SIZE (ruby/ruby-1.9.3-p551.tar.bz2) = 10049332
|
@ -1,19 +0,0 @@
|
||||
--- common.mk.orig 2011-05-17 21:19:20.689620679 -0400
|
||||
+++ common.mk 2011-05-17 21:19:28.688621223 -0400
|
||||
@@ -256,7 +256,7 @@
|
||||
install-capi: capi pre-install-capi do-install-capi post-install-capi
|
||||
pre-install-capi:: install-prereq
|
||||
do-install-capi: $(PREP)
|
||||
- $(INSTRUBY) --make="$(MAKE)" $(INSTRUBY_ARGS) --install=capi
|
||||
+ @$(NULLCMD)
|
||||
post-install-capi::
|
||||
@$(NULLCMD)
|
||||
|
||||
@@ -738,7 +738,6 @@
|
||||
$(BASERUBY) -I$(srcdir) $(srcdir)/tool/compile_prelude.rb $(srcdir)/prelude.rb $@
|
||||
|
||||
prelude.c: $(srcdir)/tool/compile_prelude.rb $(RBCONFIG) \
|
||||
- $(srcdir)/lib/rubygems/defaults.rb $(srcdir)/lib/rubygems/custom_require.rb \
|
||||
$(PRELUDE_SCRIPTS) $(PREP)
|
||||
$(COMPILE_PRELUDE) $(PRELUDE_SCRIPTS) $@
|
||||
|
@ -1,66 +0,0 @@
|
||||
--- configure.in.orig 2014-02-14 20:52:53.000000000 +0900
|
||||
+++ configure.in 2014-09-07 15:25:14.000000000 +0900
|
||||
@@ -1184,11 +1184,11 @@
|
||||
[superux*], [ ac_cv_func_setitimer=no
|
||||
],
|
||||
[ LIBS="-lm $LIBS"])
|
||||
-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(socket, socketpair) # SunOS/Solaris
|
||||
-AC_CHECK_LIB(rt, clock_gettime) # GNU/Linux
|
||||
+AC_SEARCH_LIBS(crypt, crypt)
|
||||
+AC_SEARCH_LIBS(dlopen, dl) # Dynamic linking for SunOS/Solaris and SYSV
|
||||
+AC_SEARCH_LIBS(shl_load, dld) # Dynamic linking for HP-UX
|
||||
+AC_SEARCH_LIBS(socketpair, socket) # SunOS/Solaris
|
||||
+AC_SEARCH_LIBS(clock_gettime, rt) # GNU/Linux
|
||||
if test "${enable_win95}" = maybe; then
|
||||
AC_HAVE_LIBRARY(unicows, [enable_win95=yes], [enable_win95=no])
|
||||
fi
|
||||
@@ -1834,7 +1834,7 @@
|
||||
fi
|
||||
|
||||
if test x"$enable_pthread" = xyes; then
|
||||
- for pthread_lib in thr pthread pthreads c c_r root; do
|
||||
+ for pthread_lib in pthread thr pthreads c c_r root; do
|
||||
AC_CHECK_LIB($pthread_lib, pthread_kill,
|
||||
rb_with_pthread=yes, rb_with_pthread=no)
|
||||
if test "$rb_with_pthread" = "yes"; then break; fi
|
||||
@@ -1848,6 +1848,7 @@
|
||||
[c], [],
|
||||
[root], [],
|
||||
[c_r], [MAINLIBS="-pthread $MAINLIBS"],
|
||||
+ [pthread], [MAINLIBS="-pthread $MAINLIBS"],
|
||||
[AS_CASE(["$target_os"],
|
||||
[openbsd*], [LIBS="-pthread $LIBS"],
|
||||
[LIBS="-l$pthread_lib $LIBS"])])
|
||||
@@ -1933,11 +1934,8 @@
|
||||
|
||||
AS_CASE(["$target_os"],
|
||||
[freebsd*], [
|
||||
- AC_CHECK_HEADERS([/usr/local/include/execinfo.h])
|
||||
- if test "x$ac_cv_header__usr_local_include_execinfo_h" = xyes; then :
|
||||
- RUBY_APPEND_OPTION(CPPFLAGS, -I/usr/local/include)
|
||||
- LDFLAGS="${LDFLAGS:+$LDFLAGS }-L/usr/local/lib"
|
||||
- DLDFLAGS="${DLDFLAGS:+$DLDFLAGS }-L/usr/local/lib"
|
||||
+ AC_CHECK_HEADERS([execinfo.h])
|
||||
+ if test "x$ac_cv_header_execinfo_h" = xyes; then :
|
||||
AC_CHECK_LIB([execinfo], [backtrace])
|
||||
fi])
|
||||
AC_CHECK_FUNCS(backtrace)
|
||||
@@ -2086,7 +2084,6 @@
|
||||
: ${LDSHARED='$(CC) -shared'}
|
||||
if test "$rb_cv_binary_elf" = yes; then
|
||||
LDFLAGS="$LDFLAGS -rdynamic"
|
||||
- DLDFLAGS="$DLDFLAGS "'-Wl,-soname,$(.TARGET)'
|
||||
else
|
||||
test "$GCC" = yes && test "$rb_cv_prog_gnu_ld" = yes || LDSHARED="ld -Bshareable"
|
||||
fi
|
||||
@@ -2393,6 +2390,7 @@
|
||||
[freebsd*|dragonfly*], [
|
||||
SOLIBS='$(LIBS)'
|
||||
LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR)'
|
||||
+ LIBRUBY_DLDFLAGS='-Wl,-soname,$(LIBRUBY_SO)'
|
||||
if test "$rb_cv_binary_elf" != "yes" ; then
|
||||
LIBRUBY_SO="$LIBRUBY_SO.\$(TEENY)"
|
||||
LIBRUBY_ALIASES=''
|
@ -1,11 +0,0 @@
|
||||
--- cont.c.orig 2012-02-16 22:31:17.691397569 -0500
|
||||
+++ cont.c 2012-02-16 22:31:31.507395417 -0500
|
||||
@@ -15,7 +15,7 @@
|
||||
#include "gc.h"
|
||||
#include "eval_intern.h"
|
||||
|
||||
-#if ((defined(_WIN32) && _WIN32_WINNT >= 0x0400) || (defined(HAVE_GETCONTEXT) && defined(HAVE_SETCONTEXT))) && !defined(__NetBSD__) && !defined(sun) && !defined(FIBER_USE_NATIVE)
|
||||
+#if ((defined(_WIN32) && _WIN32_WINNT >= 0x0400) || (defined(HAVE_GETCONTEXT) && defined(HAVE_SETCONTEXT))) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(sun) && !defined(FIBER_USE_NATIVE)
|
||||
#define FIBER_USE_NATIVE 1
|
||||
|
||||
/* FIBER_USE_NATIVE enables Fiber performance improvement using system
|
@ -1,12 +0,0 @@
|
||||
--- ./ext/dl/extconf.rb.orig 2010-02-25 22:49:20.000000000 +0000
|
||||
+++ ./ext/dl/extconf.rb 2014-02-18 22:06:44.000000000 +0000
|
||||
@@ -1,7 +1,8 @@
|
||||
require 'mkmf'
|
||||
|
||||
if RbConfig::CONFIG['GCC'] == 'yes'
|
||||
- $CFLAGS << " -fno-defer-pop -fno-omit-frame-pointer"
|
||||
+ $CFLAGS << " -fno-defer-pop" unless have_macro("__clang__")
|
||||
+ $CFLAGS << " -fno-omit-frame-pointer"
|
||||
end
|
||||
|
||||
$INSTALLFILES = [
|
@ -1,11 +0,0 @@
|
||||
--- ext/readline/extconf.rb.orig 2012-09-09 06:44:20 UTC
|
||||
+++ ext/readline/extconf.rb
|
||||
@@ -62,7 +62,7 @@ else
|
||||
end
|
||||
|
||||
have_readline_func("rl_getc")
|
||||
-have_readline_func("rl_getc_function")
|
||||
+#have_readline_func("rl_getc_function")
|
||||
have_readline_func("rl_filename_completion_function")
|
||||
have_readline_func("rl_username_completion_function")
|
||||
have_readline_func("rl_completion_matches")
|
@ -1,11 +0,0 @@
|
||||
--- lib/mkmf.rb.orig 2008-01-03 21:11:38.000000000 +0300
|
||||
+++ lib/mkmf.rb 2008-01-03 21:11:55.000000000 +0300
|
||||
@@ -148,7 +148,7 @@
|
||||
path = File.expand_path($0)
|
||||
$extmk = path[0, topdir.size+1] == topdir+"/" && %r"\A(ext|enc|tool)\z" =~ File.dirname(path[topdir.size+1..-1])
|
||||
if not $extmk and File.exist?(($hdrdir = RbConfig::CONFIG["rubyhdrdir"]) + "/ruby/ruby.h")
|
||||
- $topdir = $hdrdir
|
||||
+ $topdir = $hdrdir + "/" + "#{CONFIG['arch']}/ruby/"
|
||||
$top_srcdir = $hdrdir
|
||||
$arch_hdrdir = $hdrdir + "/$(arch)"
|
||||
elsif File.exist?(($hdrdir = ($top_srcdir ||= topdir) + "/include") + "/ruby.h") and
|
@ -1,12 +0,0 @@
|
||||
--- tool/mkconfig.rb.orig 2013-01-15 07:03:47.000000000 +0000
|
||||
+++ tool/mkconfig.rb 2013-02-12 03:29:09.829833511 +0000
|
||||
@@ -148,7 +148,8 @@
|
||||
|
||||
drive = File::PATH_SEPARATOR == ';'
|
||||
|
||||
-prefix = "/#{v_runtime[:libdir] || 'lib'}/ruby/#{version}/#{arch}"
|
||||
+major, minor, *rest = RUBY_VERSION.split('.')
|
||||
+prefix = "/lib/ruby/#{major}.#{minor}/#{arch}"
|
||||
print " TOPDIR = File.dirname(__FILE__).chomp!(#{prefix.dump})\n"
|
||||
print " DESTDIR = ", (drive ? "TOPDIR && TOPDIR[/\\A[a-z]:/i] || " : ""), "'' unless defined? DESTDIR\n"
|
||||
print <<'ARCH' if universal
|
@ -1,74 +0,0 @@
|
||||
--- tool/rbinstall.rb.orig 2011-07-30 07:19:11.000000000 -0700
|
||||
+++ tool/rbinstall.rb 2011-11-19 00:08:56.000000000 -0800
|
||||
@@ -292,6 +292,7 @@
|
||||
|
||||
bindir = CONFIG["bindir"]
|
||||
libdir = CONFIG["libdir"]
|
||||
+libdatadir = CONFIG["prefix"] + "/" + "libdata"
|
||||
archhdrdir = rubyhdrdir = CONFIG["rubyhdrdir"]
|
||||
archhdrdir += "/" + CONFIG["arch"]
|
||||
rubylibdir = CONFIG["rubylibdir"]
|
||||
@@ -349,7 +350,7 @@
|
||||
install?(:local, :arch, :data) do
|
||||
pc = CONFIG["ruby_pc"]
|
||||
if pc and File.file?(pc) and File.size?(pc)
|
||||
- prepare "pkgconfig data", pkgconfigdir = File.join(libdir, "pkgconfig")
|
||||
+ prepare "pkgconfig data", pkgconfigdir = File.join(libdatadir, "pkgconfig")
|
||||
install pc, pkgconfigdir, :mode => $data_mode
|
||||
end
|
||||
end
|
||||
@@ -531,54 +532,6 @@
|
||||
end
|
||||
end
|
||||
|
||||
-install?(:ext, :comm, :gem) do
|
||||
- $:.unshift(File.join(srcdir, "lib"))
|
||||
- require("rubygems.rb")
|
||||
- gem_dir = Gem.default_dir
|
||||
- directories = Gem.ensure_gem_subdirectories(gem_dir)
|
||||
- prepare "default gems", gem_dir, directories
|
||||
-
|
||||
- spec_dir = File.join(gem_dir, directories.grep(/^spec/)[0])
|
||||
- File.foreach(File.join(srcdir, "defs/default_gems")) do |line|
|
||||
- line.chomp!
|
||||
- line.sub!(/\s*#.*/, '')
|
||||
- next if line.empty?
|
||||
- words = []
|
||||
- line.scan(/\G\s*([^\[\]\s]+|\[([^\[\]]*)\])/) do
|
||||
- words << ($2 ? $2.split : $1)
|
||||
- end
|
||||
- name, src, execs = *words
|
||||
- next unless name and src
|
||||
- execs ||= []
|
||||
- src = File.join(srcdir, src)
|
||||
- version = open(src) {|f| f.find {|s| /^\s*\w*VERSION\s*=(?!=)/ =~ s}} or next
|
||||
- version = version.split(%r"=\s*", 2)[1].strip[/\A([\'\"])(.*?)\1/, 2]
|
||||
- full_name = "#{name}-#{version}"
|
||||
-
|
||||
- puts "#{" "*30}#{name} #{version}"
|
||||
- open_for_install(File.join(spec_dir, "#{full_name}.gemspec"), $data_mode) do
|
||||
- <<-GEMSPEC
|
||||
-Gem::Specification.new do |s|
|
||||
- s.name = #{name.dump}
|
||||
- s.version = #{version.dump}
|
||||
- s.summary = "This #{name} is bundled with Ruby"
|
||||
- s.executables = #{execs.inspect}
|
||||
-end
|
||||
- GEMSPEC
|
||||
- end
|
||||
-
|
||||
- unless execs.empty? then
|
||||
- bin_dir = File.join(gem_dir, 'gems', full_name, 'bin')
|
||||
- makedirs(bin_dir)
|
||||
-
|
||||
- execs.each do |exec|
|
||||
- exec = File.join(srcdir, 'bin', exec)
|
||||
- install(exec, bin_dir, :mode => $prog_mode)
|
||||
- end
|
||||
- end
|
||||
- end
|
||||
-end
|
||||
-
|
||||
parse_args()
|
||||
|
||||
include FileUtils
|
@ -1,19 +0,0 @@
|
||||
Ruby is the interpreted scripting language for quick and
|
||||
easy object-oriented programming. It has many features to
|
||||
process text files and to do system management tasks (as in
|
||||
Perl). It is simple, straight-forward, and extensible.
|
||||
|
||||
Features of Ruby are shown below.
|
||||
|
||||
+ Simple Syntax
|
||||
+ *Normal* Object-Oriented features(ex. class, method calls)
|
||||
+ *Advanced* Object-Oriented features(ex. Mix-in, Singleton-method)
|
||||
+ Operator Overloading
|
||||
+ Exception Handling
|
||||
+ Iterators and Closures
|
||||
+ Garbage Collection
|
||||
+ Dynamic Loading of Object files(on some architecture)
|
||||
+ Highly Portable(works on many UNIX machines, and on DOS,
|
||||
Windows, Mac, BeOS etc.)
|
||||
|
||||
WWW: http://www.ruby-lang.org/en/
|
@ -1,17 +0,0 @@
|
||||
====
|
||||
Some of the standard commands are provided as separate ports for ease
|
||||
of upgrading:
|
||||
|
||||
devel/ruby-gems: gem - RubyGems package manager
|
||||
devel/rubygem-rake: rake - Ruby Make
|
||||
|
||||
And some of the standard libraries are provided as separate ports
|
||||
since they require extra dependencies:
|
||||
|
||||
converters/ruby-iconv: iconv module
|
||||
databases/ruby-gdbm: GDBM module
|
||||
x11-toolkits/ruby-tk: Tcl/Tk modules
|
||||
japanese/ruby-tk: Tcl/Tk modules for Japanized Tcl/Tk
|
||||
|
||||
Install them as occasion demands.
|
||||
====
|
19930
lang/ruby19/pkg-plist
19930
lang/ruby19/pkg-plist
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user