aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/allegro-devel/Makefile6
-rw-r--r--devel/allegro/Makefile6
2 files changed, 12 insertions, 0 deletions
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