diff --git a/devel/allegro-devel/Makefile b/devel/allegro-devel/Makefile index 207c85e6b389..3459828d3f22 100644 --- a/devel/allegro-devel/Makefile +++ b/devel/allegro-devel/Makefile @@ -20,9 +20,15 @@ WANT_GNOME= yes USE_REINPLACE= yes USE_GMAKE= yes USE_AUTOCONF_VER= 253 + +.if !defined(WITHOUT_THREADS) CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -DHAVE_LIBPTHREAD" \ LDFLAGS="${PTHREAD_LIBS}" CONFIGURE_ARGS= --enable-vga=no +.else +CONFIGURE_ARGS= --enable-vga=no --enable-pthreads=no +.endif + MAKEFILE= makefile ALL_TARGET= full-build INSTALLS_SHLIB= yes diff --git a/devel/allegro/Makefile b/devel/allegro/Makefile index 207c85e6b389..3459828d3f22 100644 --- a/devel/allegro/Makefile +++ b/devel/allegro/Makefile @@ -20,9 +20,15 @@ WANT_GNOME= yes USE_REINPLACE= yes USE_GMAKE= yes USE_AUTOCONF_VER= 253 + +.if !defined(WITHOUT_THREADS) CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -DHAVE_LIBPTHREAD" \ LDFLAGS="${PTHREAD_LIBS}" CONFIGURE_ARGS= --enable-vga=no +.else +CONFIGURE_ARGS= --enable-vga=no --enable-pthreads=no +.endif + MAKEFILE= makefile ALL_TARGET= full-build INSTALLS_SHLIB= yes