View | Details | Raw Unified | Return to bug 63960
Collapse All | Expand All

(-)mod_python/Makefile (-1 / +2 lines)
Lines 13-19 Link Here
13
EXTRACT_SUFX=	.tgz
13
EXTRACT_SUFX=	.tgz
14
DIST_SUBDIR=	python
14
DIST_SUBDIR=	python
15
15
16
MAINTAINER=	ports@FreeBSD.org
16
MAINTAINER=	jre@vineyard.net
17
COMMENT=	Apache module for integrating Python
17
COMMENT=	Apache module for integrating Python
18
18
19
USE_APACHE=	yes
19
USE_APACHE=	yes
Lines 25-30 Link Here
25
GNU_CONFIGURE=	yes
25
GNU_CONFIGURE=	yes
26
CONFIGURE_ARGS+=	--with-apxs=${APXS}
26
CONFIGURE_ARGS+=	--with-apxs=${APXS}
27
CONFIGURE_ENV=	PYTHON_BIN=${PYTHON_CMD}
27
CONFIGURE_ENV=	PYTHON_BIN=${PYTHON_CMD}
28
MAKE_ENV=	PORTS_APXS=${APXS}
28
PLIST_SUB+=	PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g}
29
PLIST_SUB+=	PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g}
29
30
30
STRIP_CMD?=	strip
31
STRIP_CMD?=	strip
(-)mod_python/files/patch-Makefile.in (-1 / +1 lines)
Lines 5-11 Link Here
5
 	@echo "Performing DSO installation."
5
 	@echo "Performing DSO installation."
6
 	@echo
6
 	@echo
7
-	$(INSTALL) src/mod_python.so $(LIBEXECDIR)
7
-	$(INSTALL) src/mod_python.so $(LIBEXECDIR)
8
+	/usr/local/sbin/apxs -i -a src/mod_python.so
8
+	$(PORTS_APXS) -i -a src/mod_python.so
9
 	@$(MAKE) install_py_lib
9
 	@$(MAKE) install_py_lib
10
 	@echo
10
 	@echo
11
-	@echo "Now don't forget to edit your main config and add"
11
-	@echo "Now don't forget to edit your main config and add"
(-)mod_python/pkg-req.threads (-1 / +1 lines)
Lines 2-8 Link Here
2
# anders@fix.no, 2001-08-07
2
# anders@fix.no, 2001-08-07
3
3
4
pydir=`dirname $1 | sed "s/\/bin//"`
4
pydir=`dirname $1 | sed "s/\/bin//"`
5
if [ "`ldd $1|grep libc_r`" ]; then
5
if [ "`ldd $1|egrep 'libc_r|libkse|libthr|libpthread'`" ]; then
6
	echo "Error: Python installation in $pydir uses threads. mod_python requires"
6
	echo "Error: Python installation in $pydir uses threads. mod_python requires"
7
	echo "it to be built without threads. Please deinstall & rebuild/reinstall Python with"
7
	echo "it to be built without threads. Please deinstall & rebuild/reinstall Python with"
8
	echo "WITHOUT_THREADS set."
8
	echo "WITHOUT_THREADS set."

Return to bug 63960