diff options
author | pgollucci <pgollucci@FreeBSD.org> | 2009-05-17 17:02:49 +0800 |
---|---|---|
committer | pgollucci <pgollucci@FreeBSD.org> | 2009-05-17 17:02:49 +0800 |
commit | 6cab31f71a191a1fffaf620feaa0d634b5ac8a9d (patch) | |
tree | 8bea698fc300d4a63d8a1a6256dc97ae2088e373 /www | |
parent | 5d4ad0a7bae3a02c0102ac19913cfcdc87613178 (diff) | |
download | freebsd-ports-gnome-6cab31f71a191a1fffaf620feaa0d634b5ac8a9d.tar.gz freebsd-ports-gnome-6cab31f71a191a1fffaf620feaa0d634b5ac8a9d.tar.zst freebsd-ports-gnome-6cab31f71a191a1fffaf620feaa0d634b5ac8a9d.zip |
IGNORE when PACKAGE_BUILDING the default python has Threads
and this port requires WITHOUT_THREADS.
Ideally you should www/mod_python3 instead.
Use %%APACHEMODIR%% in pkg-plist
Diffstat (limited to 'www')
-rw-r--r-- | www/mod_python/Makefile | 4 | ||||
-rw-r--r-- | www/mod_python/pkg-plist | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/www/mod_python/Makefile b/www/mod_python/Makefile index 667ad12ea527..6b1a1880190d 100644 --- a/www/mod_python/Makefile +++ b/www/mod_python/Makefile @@ -16,6 +16,10 @@ DIST_SUBDIR= python MAINTAINER= pgollucci@FreeBSD.org COMMENT= Apache 1.3 module for integrating Python +.if defined(PACKAGE_BUILDING) +IGNORE= Requires pythong WITHOUT_THREADS +.endif + USE_APACHE= 13 NO_PACKAGE= Requires Python without threads support USE_PYTHON= yes diff --git a/www/mod_python/pkg-plist b/www/mod_python/pkg-plist index 819d9143a947..25f612bf46e9 100644 --- a/www/mod_python/pkg-plist +++ b/www/mod_python/pkg-plist @@ -1,4 +1,4 @@ -libexec/apache/mod_python.so +%%APACHEMODDIR%%/mod_python.so %%PYTHON_SITELIBDIR%%/mod_python/__init__.py %%PYTHON_SITELIBDIR%%/mod_python/apache.py %%PYTHON_SITELIBDIR%%/mod_python/cgihandler.py |