From owner-freebsd-apache@FreeBSD.ORG Sat May 15 18:24:06 2010 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 733E71065670 for ; Sat, 15 May 2010 18:24:06 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 536AA8FC0A for ; Sat, 15 May 2010 18:24:06 +0000 (UTC) Received: by pxi7 with SMTP id 7so496075pxi.13 for ; Sat, 15 May 2010 11:24:05 -0700 (PDT) Received: by 10.142.202.15 with SMTP id z15mr1898473wff.5.1273946459181; Sat, 15 May 2010 11:00:59 -0700 (PDT) Received: from sunpoet.net (sunpoet.net [220.133.12.240]) by mx.google.com with ESMTPS id 20sm2631294pzk.15.2010.05.15.11.00.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 15 May 2010 11:00:58 -0700 (PDT) Received: by sunpoet.net (Postfix, from userid 1000) id B763E2AEC65E; Sun, 16 May 2010 02:00:40 +0800 (CST) To: FreeBSD-gnats-submit@freebsd.org From: Sunpoet Po-Chuan Hsieh X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: <20100515180040.B763E2AEC65E@sunpoet.net> Date: Sun, 16 May 2010 02:00:40 +0800 (CST) Cc: apache@FreeBSD.org Subject: [PATCH] devel/apr: define python version explicitly X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 May 2010 18:24:06 -0000 >Submitter-Id: current-users >Originator: Sunpoet Po-Chuan Hsieh >Organization: SUNPOET.net >Confidential: no >Synopsis: [PATCH] devel/apr: define python version explicitly >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 8.0-STABLE amd64 >Environment: System: FreeBSD bonjour.sunpoet.net 8.0-STABLE FreeBSD 8.0-STABLE #0: Wed May 5 00:44:42 CST >Description: - Define python version explicitly ${APR_WRKDIR}/build/gen-build.py does not work with Python 3.1 Port maintainer (apache@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- apr-1.4.2.1.3.9_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/sunpoet/apr/../../devel/apr/Makefile /usr/ports/sunpoet/apr/Makefile --- /usr/ports/sunpoet/apr/../../devel/apr/Makefile 2010-05-08 17:29:32.000000000 +0800 +++ /usr/ports/sunpoet/apr/Makefile 2010-05-16 01:56:16.000000000 +0800 @@ -36,7 +36,7 @@ USE_ICONV= yes USE_AUTOTOOLS= automake:19 autoconf:262 libtool:22:env USE_PERL5_BUILD= yes -USE_PYTHON_BUILD= yes +USE_PYTHON_BUILD= -2.6 USE_LDCONFIG= yes GNU_CONFIGURE= yes @@ -216,6 +216,8 @@ ${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},g' \ ${APR_WRKDIR}/build/apr_threads.m4 ${APR_WRKDIR}/build/apr_hints.m4 \ ${APU_WRKDIR}/build/apu-conf.m4 + ${REINPLACE_CMD} -e '1 s/python/${PYTHON_VERSION}/' \ + ${APR_WRKDIR}/build/gen-build.py run-autotools:: cd ${APR_WRKDIR} ; \ --- apr-1.4.2.1.3.9_1.patch ends here ---