summaryrefslogtreecommitdiff
path: root/x11-toolkits/fltk
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2003-09-05 13:40:43 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2003-09-05 13:40:43 +0000
commit4c9de967c06bb4b7ac437034d3396d5eada8ac31 (patch)
tree0f195c6180034d3b179a771ca86f7ba1dd86c4b7 /x11-toolkits/fltk
parentAdd patch to disable IPv6 support which was making GM crash. (diff)
Add WITH_THREADS knob to compile with threads support.
Submitted by: dave <dave@gufi.org>
Notes
Notes: svn path=/head/; revision=88596
Diffstat (limited to 'x11-toolkits/fltk')
-rw-r--r--x11-toolkits/fltk/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/x11-toolkits/fltk/Makefile b/x11-toolkits/fltk/Makefile
index a21056c4d4ed..4e224fd2d764 100644
--- a/x11-toolkits/fltk/Makefile
+++ b/x11-toolkits/fltk/Makefile
@@ -40,6 +40,10 @@ CONFIGURE_ENV= CXXFLAGS=-DUSE_XUNICODE
_PORTVERSION+= ${VERSION}
.endif
+.if defined(WITH_THREADS)
+CONFIGURE_ARGS+=--enable-threads
+.endif
+
VERSION= 1.1.3
USE_BZIP2= yes
INSTALLS_SHLIB= yes
@@ -59,4 +63,8 @@ post-extract:
cd ${WRKSRC} && ${LN} -s ${X11BASE}/include/xunicode
.endif
+pre-everything::
+ @${ECHO_MSG} "===> You can enable threads support by defining WITH_THREADS"
+ @${ECHO_MSG} "===>"
+
.include <bsd.port.mk>