From sunpoet@sunpoet.net  Sat May 15 18:00:59 2010
Return-Path: <sunpoet@sunpoet.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E7F43106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 15 May 2010 18:00:59 +0000 (UTC)
	(envelope-from sunpoet@sunpoet.net)
Received: from mail-pz0-f174.google.com (mail-pz0-f174.google.com [209.85.222.174])
	by mx1.freebsd.org (Postfix) with ESMTP id C0A7A8FC1A
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 15 May 2010 18:00:59 +0000 (UTC)
Received: by pzk4 with SMTP id 4so2015125pzk.7
        for <multiple recipients>; Sat, 15 May 2010 11:00:59 -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)
Message-Id: <20100515180040.B763E2AEC65E@sunpoet.net>
Date: Sun, 16 May 2010 02:00:40 +0800 (CST)
From: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: apache@FreeBSD.org
Subject: [PATCH] devel/apr: define python version explicitly
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         146621
>Category:       ports
>Synopsis:       [PATCH] devel/apr: define python version explicitly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    apache
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 15 18:10:07 UTC 2010
>Closed-Date:    Tue May 18 05:46:11 UTC 2010
>Last-Modified:  Tue May 18 05:50:05 UTC 2010
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 8.0-STABLE amd64
>Organization:
SUNPOET.net
>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 ---
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->apache 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat May 15 18:10:17 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146621 
State-Changed-From-To: open->closed 
State-Changed-By: pgollucci 
State-Changed-When: Tue May 18 05:46:10 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146621 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/146621: commit references a PR
Date: Tue, 18 May 2010 05:45:11 +0000 (UTC)

 pgollucci    2010-05-18 05:44:57 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/apr1           Makefile 
   Log:
   - Define python version explicitly
     ${APR_WRKDIR}/build/gen-build.py does not work with Python 3.1
   - No PORTREVISION bump (build only)
   
   PR:             ports/146621
   Submitted by:   Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
   With Hat:       apache@
   
   Revision  Changes    Path
   1.103     +3 -1      ports/devel/apr1/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/146621: commit references a PR
Date: Tue, 18 May 2010 05:46:11 +0000 (UTC)

 pgollucci    2010-05-18 05:46:02 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/apr0           Makefile 
   Log:
   - Define python version explicitly
     ${APR_WRKDIR}/build/gen-build.py does not work with Python 3.1
   - No PORTREVISION bump (build only)
    [duplicate fix as devel/apr1]
   
   PR:             ports/146621
   Submitted by:   Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
   With Hat:       apache@
   
   Revision  Changes    Path
   1.104     +3 -1      ports/devel/apr0/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
