1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

- Back-out the previous commit, as it can cause linking problems (pthread's

unresolved symbols) on some systems (e.g. with libgnomeui). Linking
  threading libraries donesn't employ threading in ruby per se, so it's safe
  to do that in non-threaded case.

Reported by:	mezz
This commit is contained in:
Stanislav Sedov 2006-11-19 23:39:00 +00:00
parent 0637d1df99
commit 45a7b73beb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=177636

View File

@ -40,10 +40,11 @@ OPTIONS= PTHREADS "Enable pthreads support (may break some apps)" off \
.include <bsd.port.pre.mk>
PKGNAMESUFFIX= #empty
CFLAGS+= ${PTHREAD_CFLAGS} # Keep this, else ruby will fail to load
LDFLAGS+= ${PTHREAD_LIBS} # libraries dependent op libpthread.
.if defined(WITH_PTHREADS)
CONFIGURE_ARGS+=--enable-pthread
CFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS}
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}+pthreads
.else
CONFIGURE_ARGS+=--disable-pthread