summaryrefslogtreecommitdiff
path: root/www/mod_python3/pkg-req.threads
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2003-01-07 02:47:59 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2003-01-07 02:47:59 +0000
commit13f3771961acb938d5774e4a9a4a6b55845433e5 (patch)
tree605c9ebf1d5d98b6d296427e4d0634341a0e45e1 /www/mod_python3/pkg-req.threads
parento Fix build on any architecture (tested on only i386). (diff)
Update mod_python to 3.0.1. (repocopy from www/mod_python)
Approved by: lioux (portmgr) Repocopied by: joe
Notes
Notes: svn path=/head/; revision=72662
Diffstat (limited to 'www/mod_python3/pkg-req.threads')
-rw-r--r--www/mod_python3/pkg-req.threads22
1 files changed, 0 insertions, 22 deletions
diff --git a/www/mod_python3/pkg-req.threads b/www/mod_python3/pkg-req.threads
deleted file mode 100644
index 5328a30cedb5..000000000000
--- a/www/mod_python3/pkg-req.threads
+++ /dev/null
@@ -1,22 +0,0 @@
-#! /bin/sh
-# anders@fix.no, 2001-08-07
-
-pydir=`dirname $1 | sed "s/\/bin//"`
-mylibc=`ldd $1 | tail +2 | awk '{print $1}' | cut -d'.' -f1 | grep ^libc`
-
-case $mylibc in
-libc_r)
- echo "Error: Python installation in $pydir uses threads. mod_python requires"
- echo "it to be built without threads. Please deinstall & rebuild/reinstall Python with"
- echo "WITHOUT_THREADS set."
- exit 1
- ;;
-libc)
- echo "Using a no-threads Python installation (in $pydir). Good."
- exit 0
- ;;
-*)
- echo "Unknown libc library. Cannot use a Python installation that uses this."
- exit 1
- ;;
-esac