diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2001-08-16 09:31:29 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2001-08-16 09:31:29 +0000 |
commit | d20e03f1077b1c98f4f7e9772b80eede05f94fef (patch) | |
tree | 26e0d3f3833a6d5b03e22f2290aecde162d97b17 /www/mod_python/pkg-req.threads | |
parent | Update converters/p5-Text-Iconv to 1.2. (diff) |
Update port to version 2.7.6, make it work with Python 2.1.1.
Assign maintainership to Anders Nordby <anders@fix.no> (approved by current maintainer)
PR: 29738
Submitted by: Anders Nordby <anders@fix.no>
Diffstat (limited to 'www/mod_python/pkg-req.threads')
-rw-r--r-- | www/mod_python/pkg-req.threads | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/www/mod_python/pkg-req.threads b/www/mod_python/pkg-req.threads new file mode 100644 index 000000000000..d3526527fe90 --- /dev/null +++ b/www/mod_python/pkg-req.threads @@ -0,0 +1,22 @@ +#! /bin/sh +# anders@fix.no, 2001-08-07 + +mydir=`dirname $0` +mylibc=`ldd $1 | tail +2 | awk '{print $1}' | cut -d'.' -f1 | grep ^libc` + +case $mylibc in +libc_r) + echo "Error: Python installation in $2 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 (PREFIX $2). Good." + exit 0 + ;; +*) + echo "Unknown libc library. Cannot use a Python installation that uses this." + exit 1 + ;; +esac |