From owner-svn-ports-head@FreeBSD.ORG Sun Oct 20 03:59:53 2013 Return-Path: Delivered-To: svn-ports-head@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 5A94E8C8; Sun, 20 Oct 2013 03:59:53 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (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 4913722E8; Sun, 20 Oct 2013 03:59:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9K3xrIh017570; Sun, 20 Oct 2013 03:59:53 GMT (envelope-from koobs@svn.freebsd.org) Received: (from koobs@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9K3xrnK017569; Sun, 20 Oct 2013 03:59:53 GMT (envelope-from koobs@svn.freebsd.org) Message-Id: <201310200359.r9K3xrnK017569@svn.freebsd.org> From: Kubilay Kocak Date: Sun, 20 Oct 2013 03:59:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r330969 - head/www/mod_python3 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Oct 2013 03:59:53 -0000 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@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