aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>1999-11-13 09:28:19 +0800
committerjmz <jmz@FreeBSD.org>1999-11-13 09:28:19 +0800
commit980ffad99282663628d81b225b8de55a6251f912 (patch)
tree9ae1c4f75c0074fbae6bcc6dadb73a8915cdada4
parent9b58fbda801a7a55375b11f24a26f81a473ad6d5 (diff)
downloadfreebsd-ports-gnome-980ffad99282663628d81b225b8de55a6251f912.tar.gz
freebsd-ports-gnome-980ffad99282663628d81b225b8de55a6251f912.tar.zst
freebsd-ports-gnome-980ffad99282663628d81b225b8de55a6251f912.zip
Add support for threads (use at your own risk)
Submitted by: Carlos A M dos Santos <casantos@inf.ufrgs.br>
-rw-r--r--x11-servers/XFree86-4-Server-snap/scripts/configure11
-rw-r--r--x11-servers/XFree86-4-Server/scripts/configure11
-rw-r--r--x11/XFree86-4-clients/scripts/configure11
-rw-r--r--x11/XFree86-4-libraries/scripts/configure11
-rw-r--r--x11/XFree86-4/scripts/configure11
-rw-r--r--x11/XFree86/scripts/configure11
6 files changed, 66 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
diff --git a/x11/XFree86-4-clients/scripts/configure b/x11/XFree86-4-clients/scripts/configure
index f103b10daf9e..40e339961f1c 100644
--- a/x11/XFree86-4-clients/scripts/configure
+++ b/x11/XFree86-4-clients/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/XFree86-4-libraries/scripts/configure b/x11/XFree86-4-libraries/scripts/configure
index f103b10daf9e..40e339961f1c 100644
--- a/x11/XFree86-4-libraries/scripts/configure
+++ b/x11/XFree86-4-libraries/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/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
diff --git a/x11/XFree86/scripts/configure b/x11/XFree86/scripts/configure
index f103b10daf9e..40e339961f1c 100644
--- a/x11/XFree86/scripts/configure
+++ b/x11/XFree86/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