Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Apr 2006 04:13:24 +0900
From:      MOROHOSHI Akihiko <moro@remus.dti.ne.jp>
To:        freebsd-ports@freebsd.org
Subject:   Re: Ruby oddity (pthreads)
Message-ID:  <e0rs4k$rcf$1@sea.gmane.org>
In-Reply-To: <863bgyspgv.wl%nobutaka@nobutaka.org>
References:  <20060313.004512.55510725.rushani@FreeBSD.org> <441452E7.3010809@jp.FreeBSD.org> <1142182986.64145.8.camel@ikaros.oook.cz> <4414581B.1070800@jp.FreeBSD.org> <op.s6bbkbng9aq2h7@mezz.mezzweb.com> <86fylaijw5.wl%nobutaka@nobutaka.org> <op.s613w6di9aq2h7@mezz.mezzweb.com> <863bgyspgv.wl%nobutaka@nobutaka.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello, 

Please surround "You can enable pthread ..." message with
.if !defined(WITH_PTHREADS) / .endif.

Regards,
MOROHOSHI Akihiko

--- Makefile.orig	Sat Apr  1 15:38:43 2006
+++ Makefile	Tue Apr  4 03:56:03 2006
@@ -125,11 +125,13 @@
 			zlib
 
+.if !defined(WITH_PTHREADS)
 pre-everything::
 	@${ECHO_MSG} ""
 	@${ECHO_MSG} "NOTE:"
 	@${ECHO_MSG} "You can enable pthread support by defining WITH_PTHREADS variable,"
 	@${ECHO_MSG} "but not recommended since this might break some ruby apps."
 	@${ECHO_MSG} ""
+.endif
 
 post-extract:
 	${MV} ${WRKSRC}/ext/dl/h2rb ${WRKSRC}/bin/





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e0rs4k$rcf$1>