aboutsummaryrefslogtreecommitdiffstats
path: root/devel/allegro
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-07-01 01:46:46 +0800
committerflz <flz@FreeBSD.org>2005-07-01 01:46:46 +0800
commitb7adc512bd6dd2444267341ca9fad1c24e82d832 (patch)
tree6ecc371a063fc74e205e6bfd636439c5ba9aa670 /devel/allegro
parenta61e22476730e1c68dfa728f21a65a76a4515530 (diff)
downloadfreebsd-ports-gnome-b7adc512bd6dd2444267341ca9fad1c24e82d832.tar.gz
freebsd-ports-gnome-b7adc512bd6dd2444267341ca9fad1c24e82d832.tar.zst
freebsd-ports-gnome-b7adc512bd6dd2444267341ca9fad1c24e82d832.zip
- Add WITHOUT_THREADS knob.
PR: ports/82818 Submitted by: Gunter Wambaugh <gunter@thewambaughs.net>
Diffstat (limited to 'devel/allegro')
-rw-r--r--devel/allegro/Makefile6
1 files changed, 6 insertions, 0 deletions
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