Ruby oddity (pthreads)

MOROHOSHI Akihiko moro at remus.dti.ne.jp
Mon Apr 3 20:15:12 UTC 2006


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/




More information about the freebsd-ports mailing list