diff options
author | knu <knu@FreeBSD.org> | 2005-02-05 12:59:26 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2005-02-05 12:59:26 +0800 |
commit | 584984a14cadb1bedf9e267effdafd4aac178618 (patch) | |
tree | 27e9d2d6bee9a8d90b9da0364a0514d6acc23097 /devel | |
parent | bb4b58c482c462fe675e9cc2b457369555b0b634 (diff) | |
download | freebsd-ports-gnome-584984a14cadb1bedf9e267effdafd4aac178618.tar.gz freebsd-ports-gnome-584984a14cadb1bedf9e267effdafd4aac178618.tar.zst freebsd-ports-gnome-584984a14cadb1bedf9e267effdafd4aac178618.zip |
The slippery pthread support for systems prior to 502102 has been
dropped and the lang/ruby16_r and lang/ruby18_r ports have been
removed, since no one seems to appreciate the partially working
solution.
Good news is that the pthread support of lang/ruby18 is now enabled by
default for newer systems, which means the ruby interpreter is linked
with libpthread. This will allow threaded extension libraries to run
and work properly on those systems.
The --march=cputype flag is disabled because it gets ruby to
malfunction and fail to build. I don't know if the problem is in
libpthread or in gcc.
(It really makes me wonder if they had actually tested before asking
me to do this somewhat risky change ;-)
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ruby-gnustep/Makefile | 6 | ||||
-rw-r--r-- | devel/ruby-pcsc-lite/Makefile | 9 | ||||
-rw-r--r-- | devel/ruby-sdl/Makefile | 5 |
3 files changed, 15 insertions, 5 deletions
diff --git a/devel/ruby-gnustep/Makefile b/devel/ruby-gnustep/Makefile index 6179beddb636..34f9d317a74c 100644 --- a/devel/ruby-gnustep/Makefile +++ b/devel/ruby-gnustep/Makefile @@ -7,7 +7,7 @@ PORTNAME= gnustep PORTVERSION= 0.2.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel ruby MASTER_SITES= ftp://ftp.gnustep.org/pub/gnustep/libs/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} @@ -36,7 +36,6 @@ RUN_DEPENDS+= ${COMBOLIBDIR}/libobjc.so:${PORTSDIR}/${GNUSTEP_OBJC_PORT} .endif USE_RUBY= yes -RUBY_WITH_PTHREAD= yes USE_GMAKE= yes CC= gcc32 CXX= g++32 @@ -60,6 +59,9 @@ COMBOLIBDIR= ${SYSLIBDIR} MAKE_ENV+= GNUSTEP_FLATTENED=yes .include <bsd.port.pre.mk> +.if ${OSVERSION} < 502102 +BROKEN= "Systems prior to FreeBSD 502102 are out of support" +.endif .if ${MACHINE_ARCH} == "i386" GNU_ARCH= ix86 diff --git a/devel/ruby-pcsc-lite/Makefile b/devel/ruby-pcsc-lite/Makefile index 931dbf1fcd32..2a2d33a5939a 100644 --- a/devel/ruby-pcsc-lite/Makefile +++ b/devel/ruby-pcsc-lite/Makefile @@ -7,6 +7,7 @@ PORTNAME= pcsc-lite PORTVERSION= 0.8 +PORTREVISION= 1 CATEGORIES= devel ruby MASTER_SITES= http://soth.at/PCSC-ruby/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} @@ -20,7 +21,6 @@ LIB_DEPENDS= pcsclite.0:${PORTSDIR}/devel/pcsc-lite USE_RUBY= yes RUBY_VER= 1.8 -RUBY_WITH_PTHREAD= yes CONFIGURE_ARGS+= --with-pcsclite-dir="${PREFIX}" USE_RUBY_EXTCONF= yes RUBY_SETUP= install.rb @@ -30,6 +30,11 @@ WRKSRC= ${WRKDIR}/PCSC-ruby DOCS= README.txt EXAMPLES= examples/test.rb examples/pcsclient.rb +.include <bsd.port.pre.mk> +.if ${OSVERSION} < 502102 +BROKEN= "Systems prior to FreeBSD 502102 are out of support" +.endif + post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_MODDOCDIR}/ @@ -42,4 +47,4 @@ post-install: .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/devel/ruby-sdl/Makefile b/devel/ruby-sdl/Makefile index 648ad9fd9508..8f8addfb9f1d 100644 --- a/devel/ruby-sdl/Makefile +++ b/devel/ruby-sdl/Makefile @@ -7,6 +7,7 @@ PORTNAME= sdl PORTVERSION= 0.9.3 +PORTREVISION= 1 CATEGORIES= devel graphics audio ruby MASTER_SITES= http://www.kmc.gr.jp/~ohai/rubysdl/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} @@ -24,7 +25,6 @@ RUBY_OPENGL_WRKSRC_CMD= cd ${RUBY_OPENGL_PORTDIR}; ${MAKE} -V WRKSRC USE_SDL= mixer image ttf sdl USE_RUBY= yes USE_RUBY_EXTCONF= yes -RUBY_WITH_PTHREAD= yes CONFIGURE_ARGS= --with-sdl-config="sdl11-config" \ --enable-opengl --linkoglmodule \ @@ -42,6 +42,9 @@ DOCS_JA= NEWS.ja README.ja \ ${RUBY_RD_HTML_FILES:N*.en.html} .include <bsd.port.pre.mk> +.if ${OSVERSION} < 502102 +BROKEN= "Systems prior to FreeBSD 502102 are out of support" +.endif post-extract: dir=`${RUBY_OPENGL_WRKSRC_CMD}`; \ |