From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Sep 17 11:00:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C70FF91D for ; Tue, 17 Sep 2013 11:00:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A56522D5A for ; Tue, 17 Sep 2013 11:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r8HB00tf060509 for ; Tue, 17 Sep 2013 11:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r8HB00Dd060508; Tue, 17 Sep 2013 11:00:00 GMT (envelope-from gnats) Resent-Date: Tue, 17 Sep 2013 11:00:00 GMT Resent-Message-Id: <201309171100.r8HB00Dd060508@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kubilay Kocak Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 476C78A6; Tue, 17 Sep 2013 10:54:28 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pd0-x236.google.com (mail-pd0-x236.google.com [IPv6:2607:f8b0:400e:c02::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1C20E2D2B; Tue, 17 Sep 2013 10:54:28 +0000 (UTC) Received: by mail-pd0-f182.google.com with SMTP id r10so5404970pdi.41 for ; Tue, 17 Sep 2013 03:54:27 -0700 (PDT) Received: from 9-STABLE-amd64.elysium (ppp59-167-128-11.static.internode.on.net. [59.167.128.11]) by mx.google.com with ESMTPSA id qa9sm37432816pbc.7.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 17 Sep 2013 03:54:27 -0700 (PDT) Received: by 9-STABLE-amd64.elysium (Postfix, from userid 1001) id 3FB773C58E; Tue, 17 Sep 2013 20:54:23 +1000 (EST) Message-Id: <20130917105423.3FB773C58E@9-STABLE-amd64.elysium> Date: Tue, 17 Sep 2013 20:54:23 +1000 (EST) From: Kubilay Kocak To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/182185: [PATCH] www/mod_python3: Fix linking when Python is built with libs in LOCALBASE Cc: apache@FreeBSD.org X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Sep 2013 11:00:00 -0000 >Number: 182185 >Category: ports >Synopsis: [PATCH] www/mod_python3: Fix linking when Python is built with libs in LOCALBASE >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Sep 17 11:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Kubilay Kocak >Release: FreeBSD 9.2-PRERELEASE amd64 >Organization: >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 --- ap22-mod_python-3.3.1_4.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: