1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Show the message about WITH_PTHREADS knob only when WITH_PTHREADS isn't defined.

Submitted by:	MOROHOSHI Akihiko <moro@remus.dti.ne.jp>
This commit is contained in:
MANTANI Nobutaka 2006-04-30 17:50:21 +00:00
parent 98d6e8cbc1
commit 6ee6ffc589
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=160931

View File

@ -125,11 +125,13 @@ OBSOLETED_MODULES= bigfloat \
zlib
pre-everything::
.if !defined(WITH_PTHREADS)
@${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/