1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00

- Add WITHOUT_THREADS knob.

PR:		ports/82818
Submitted by:	Gunter Wambaugh <gunter@thewambaughs.net>
This commit is contained in:
Florent Thoumie 2005-06-30 17:46:46 +00:00
parent cfb8fe6e95
commit 3e8732e462
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138257
2 changed files with 12 additions and 0 deletions

View File

@ -20,9 +20,15 @@ WANT_GNOME= yes
USE_REINPLACE= yes USE_REINPLACE= yes
USE_GMAKE= yes USE_GMAKE= yes
USE_AUTOCONF_VER= 253 USE_AUTOCONF_VER= 253
.if !defined(WITHOUT_THREADS)
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -DHAVE_LIBPTHREAD" \ CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -DHAVE_LIBPTHREAD" \
LDFLAGS="${PTHREAD_LIBS}" LDFLAGS="${PTHREAD_LIBS}"
CONFIGURE_ARGS= --enable-vga=no CONFIGURE_ARGS= --enable-vga=no
.else
CONFIGURE_ARGS= --enable-vga=no --enable-pthreads=no
.endif
MAKEFILE= makefile MAKEFILE= makefile
ALL_TARGET= full-build ALL_TARGET= full-build
INSTALLS_SHLIB= yes INSTALLS_SHLIB= yes

View File

@ -20,9 +20,15 @@ WANT_GNOME= yes
USE_REINPLACE= yes USE_REINPLACE= yes
USE_GMAKE= yes USE_GMAKE= yes
USE_AUTOCONF_VER= 253 USE_AUTOCONF_VER= 253
.if !defined(WITHOUT_THREADS)
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -DHAVE_LIBPTHREAD" \ CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -DHAVE_LIBPTHREAD" \
LDFLAGS="${PTHREAD_LIBS}" LDFLAGS="${PTHREAD_LIBS}"
CONFIGURE_ARGS= --enable-vga=no CONFIGURE_ARGS= --enable-vga=no
.else
CONFIGURE_ARGS= --enable-vga=no --enable-pthreads=no
.endif
MAKEFILE= makefile MAKEFILE= makefile
ALL_TARGET= full-build ALL_TARGET= full-build
INSTALLS_SHLIB= yes INSTALLS_SHLIB= yes