diff options
Diffstat (limited to 'x11/XFree86-4')
-rw-r--r-- | x11/XFree86-4/scripts/configure | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/x11/XFree86-4/scripts/configure b/x11/XFree86-4/scripts/configure index f103b10daf9e..40e339961f1c 100644 --- a/x11/XFree86-4/scripts/configure +++ b/x11/XFree86-4/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 |