mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
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)
This commit is contained in:
parent
c75b27a8a0
commit
8234d3fe56
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330969
@ -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@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>
|
||||
|
Loading…
Reference in New Issue
Block a user