diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2009-01-05 20:36:33 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2009-01-05 20:36:33 +0000 |
commit | 41d8c3385c21ae51629c8997035eae8a9423ff6c (patch) | |
tree | 246d960cb714ce0095c452017819f6b1c64a7dfb /lang/ruby18 | |
parent | 5e3b0872db18497aacc353b3ef94ad8dac11183f (diff) | |
download | ports-41d8c3385c21ae51629c8997035eae8a9423ff6c.tar.gz ports-41d8c3385c21ae51629c8997035eae8a9423ff6c.zip |
Notes
Diffstat (limited to 'lang/ruby18')
-rw-r--r-- | lang/ruby18/Makefile | 6 | ||||
-rw-r--r-- | lang/ruby18/files/extrapatch-eval.c | 13 |
2 files changed, 1 insertions, 18 deletions
diff --git a/lang/ruby18/Makefile b/lang/ruby18/Makefile index 9a3c2055ec6b..546233d2a967 100644 --- a/lang/ruby18/Makefile +++ b/lang/ruby18/Makefile @@ -88,10 +88,6 @@ CONFIGURE_ARGS+= --enable-install-doc CONFIGURE_ARGS+= --disable-install-doc .endif -.if ${OSVERSION} < 502102 -EXTRA_PATCHES= ${PATCHDIR}/extrapatch-eval.c -.endif - # This patch can be used for GC performance analysis and tweaking # svn://rubyforge.org/var/svn/railsbench/trunk/railsbench/ruby185gc.patch .if defined(WITH_GCPATCH) @@ -142,7 +138,7 @@ post-extract: ${MV} ${WRKSRC}/ext/dl/h2rb ${WRKSRC}/bin/ post-patch: -.if ${OSVERSION} < 502102 || ${ARCH} == "sparc64" || ${ARCH} == "alpha" +.if ${ARCH} == "sparc64" || ${ARCH} == "alpha" ${REINPLACE_CMD} -e 's|-lc"|"|g' ${WRKSRC}/configure .endif ${REINPLACE_CMD} -e 's|-l$$pthread_lib|${PTHREAD_LIBS}|g' \ diff --git a/lang/ruby18/files/extrapatch-eval.c b/lang/ruby18/files/extrapatch-eval.c deleted file mode 100644 index 4d9785c75d7f..000000000000 --- a/lang/ruby18/files/extrapatch-eval.c +++ /dev/null @@ -1,13 +0,0 @@ ---- eval.c.orig Wed Feb 23 15:54:03 2005 -+++ eval.c Wed Feb 23 15:54:18 2005 -@@ -12,6 +12,10 @@ - - **********************************************************************/ - -+#ifdef _THREAD_SAFE -+#undef _THREAD_SAFE -+#endif -+ - #include "ruby.h" - #include "node.h" - #include "env.h" |