svn commit: r330969 - head/www/mod_python3
Kubilay Kocak
koobs at FreeBSD.org
Sun Oct 20 03:59:53 UTC 2013
Author: koobs
Date: Sun Oct 20 03:59:52 2013
New Revision: 330969
URL: http://svnweb.freebsd.org/changeset/ports/330969
Log:
www/mod_python3: Fix linking when Python is built with libs in LOCALBASE
- Bump port revision
- While I'm here, sort Makefile entries
- Add regression-test target with comment
PR: ports/182185
Reported by: des, pkg-fallout
Reviewed by: mva
Approved by: maintainer timeout (1 month)
Modified:
head/www/mod_python3/Makefile
Modified: head/www/mod_python3/Makefile
==============================================================================
--- head/www/mod_python3/Makefile Sun Oct 20 03:58:35 2013 (r330968)
+++ head/www/mod_python3/Makefile Sun Oct 20 03:59:52 2013 (r330969)
@@ -3,7 +3,7 @@
PORTNAME= mod_python
PORTVERSION= 3.3.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
MASTER_SITE_SUBDIR= modpython
@@ -13,21 +13,27 @@ EXTRACT_SUFX= .tgz
MAINTAINER= apache at FreeBSD.org
COMMENT= Apache module that embeds the Python interpreter within the server
-
USE_APACHE= 22
USE_PYTHON= yes
-MAKE_ARGS+= APXS=${APXS}
-
INSTALLS_EGGINFO= yes
-LATEST_LINK= mod_python3
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-apxs="${APXS}" --with-python="${PYTHON_CMD}" \
- --without-flex
+LATEST_LINK= mod_python3
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-apxs="${APXS}" \
+ --with-python="${PYTHON_CMD}" \
+ --without-flex
+
+LDFLAGS+= -L${LOCALBASE}/lib
+MAKE_ARGS+= APXS=${APXS}
MAKE_ENV= EXPR_COMPAT=yes
NO_STAGE= yes
post-install:
@${CAT} ${PKGMESSAGE}
+# You need to install apache & mod_python before you run this
+regression-test: build
+ @cd ${WRKSRC} && ${MAKE} check
+
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list