Date: Tue, 17 Sep 2013 20:54:23 +1000 (EST) From: Kubilay Kocak <koobs.freebsd@gmail.com> To: FreeBSD-gnats-submit@freebsd.org Cc: apache@FreeBSD.org Subject: [PATCH] www/mod_python3: Fix linking when Python is built with libs in LOCALBASE Message-ID: <20130917105423.3FB773C58E@9-STABLE-amd64.elysium>
next in thread | raw e-mail | index | archive | help
>Submitter-Id: current-users >Originator: Kubilay Kocak >Organization: >Confidential: no >Synopsis: [PATCH] www/mod_python3: Fix linking when Python is built with libs in LOCALBASE >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 9.2-PRERELEASE amd64 >Environment: System: FreeBSD 9-STABLE-amd64.elysium 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #0 r254557: Tue Aug 20 21:44:31 EST >Description: 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 Reported by: des, pkg-fallout Reviewed by: mva portlint: WARN - pkg-message: possible use of absolute pathname porttest: ??? whats up with pkg-plist, are apache mod ports not PREFIX safe ??? unittest: - Ran 68 tests in 12.590s - OK - Ran 6 tests in 41.549s - OK Port maintainer (apache@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports) >How-To-Repeat: >Fix: --- ap22-mod_python-3.3.1_4.patch begins here --- diff -ruN /usr/ports/www/mod_python3/Makefile ./Makefile --- /usr/ports/www/mod_python3/Makefile 2013-08-15 08:35:50.000000000 +1000 +++ ./Makefile 2013-09-17 20:45:22.337915289 +1000 @@ -1,9 +1,9 @@ # Created by: Hye-Shik Chang -# $FreeBSD: www/mod_python3/Makefile 324744 2013-08-14 22:35:50Z ak $ +# $FreeBSD: head/www/mod_python3/Makefile 324744 2013-08-14 22:35:50Z ak $ 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,20 +13,26 @@ 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 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> --- ap22-mod_python-3.3.1_4.patch ends here ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130917105423.3FB773C58E>