summaryrefslogtreecommitdiff
path: root/x11-servers
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>1999-11-13 01:28:19 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>1999-11-13 01:28:19 +0000
commit23b13f56ee315dabce52b7e54ea4cbd33097f9b7 (patch)
tree85087287202453d846397beb3fd09c593d79f25a /x11-servers
parentTurn off NO_PACKAGE for the Alpha. XFree86 is not yet providing us bits (diff)
Add support for threads (use at your own risk)
Submitted by: Carlos A M dos Santos <casantos@inf.ufrgs.br>
Notes
Notes: svn path=/head/; revision=23050
Diffstat (limited to 'x11-servers')
-rw-r--r--x11-servers/XFree86-4-Server-snap/scripts/configure11
-rw-r--r--x11-servers/XFree86-4-Server/scripts/configure11
2 files changed, 22 insertions, 0 deletions
diff --git a/x11-servers/XFree86-4-Server-snap/scripts/configure b/x11-servers/XFree86-4-Server-snap/scripts/configure
index f103b10daf9e..40e339961f1c 100644
--- a/x11-servers/XFree86-4-Server-snap/scripts/configure
+++ b/x11-servers/XFree86-4-Server-snap/scripts/configure
@@ -362,6 +362,13 @@ if [ $cpkb != NO ]; then
fi
echo
+yesno "Do you want to compile with threads support? (experimental)"
+if [ $answ = YES ]; then
+ THREADS_PATCH=$FILESDIR/BSD-threads.diff
+else
+ THREADS_PATCH=
+fi
+echo
echo "End of configuration questions. No more user input required"
echo
}
@@ -377,6 +384,10 @@ if [ X$cpkb != XNO ]; then
echo "===> Applying KerberosIV patches"
patch -s -d $WRKDIR/xc -E -p0 < $K4PATCH
fi
+if [ X$THREADS_PATCH != X ]; then
+ echo "===> Applying threads patches"
+ patch -s -d $WRKDIR -E -p0 < $THREADS_PATCH
+fi
cat $F >> $WRKDIR/xc/config/cf/xf86site.def
diff --git a/x11-servers/XFree86-4-Server/scripts/configure b/x11-servers/XFree86-4-Server/scripts/configure
index f103b10daf9e..40e339961f1c 100644
--- a/x11-servers/XFree86-4-Server/scripts/configure
+++ b/x11-servers/XFree86-4-Server/scripts/configure
@@ -362,6 +362,13 @@ if [ $cpkb != NO ]; then
fi
echo
+yesno "Do you want to compile with threads support? (experimental)"
+if [ $answ = YES ]; then
+ THREADS_PATCH=$FILESDIR/BSD-threads.diff
+else
+ THREADS_PATCH=
+fi
+echo
echo "End of configuration questions. No more user input required"
echo
}
@@ -377,6 +384,10 @@ if [ X$cpkb != XNO ]; then
echo "===> Applying KerberosIV patches"
patch -s -d $WRKDIR/xc -E -p0 < $K4PATCH
fi
+if [ X$THREADS_PATCH != X ]; then
+ echo "===> Applying threads patches"
+ patch -s -d $WRKDIR -E -p0 < $THREADS_PATCH
+fi
cat $F >> $WRKDIR/xc/config/cf/xf86site.def