diff options
author | jmz <jmz@FreeBSD.org> | 1999-11-13 01:28:19 +0000 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 1999-11-13 01:28:19 +0000 |
commit | 980ffad99282663628d81b225b8de55a6251f912 (patch) | |
tree | 9ae1c4f75c0074fbae6bcc6dadb73a8915cdada4 /x11-servers | |
parent | 9b58fbda801a7a55375b11f24a26f81a473ad6d5 (diff) | |
download | FreeBSD-ports-980ffad99282663628d81b225b8de55a6251f912.zip FreeBSD-ports-980ffad99282663628d81b225b8de55a6251f912.tar.gz |
Add support for threads (use at your own risk)
Submitted by: Carlos A M dos Santos <casantos@inf.ufrgs.br>
Diffstat (limited to 'x11-servers')
-rw-r--r-- | x11-servers/XFree86-4-Server-snap/scripts/configure | 11 | ||||
-rw-r--r-- | x11-servers/XFree86-4-Server/scripts/configure | 11 |
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 f103b10..40e3399 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 f103b10..40e3399 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 |