From yasu@home.utahime.org  Thu May  1 12:23:12 2008
Return-Path: <yasu@home.utahime.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 158CD106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  1 May 2008 12:23:12 +0000 (UTC)
	(envelope-from yasu@home.utahime.org)
Received: from utahime.as.wakwak.ne.jp (utahime.as.wakwak.ne.jp [61.205.238.40])
	by mx1.freebsd.org (Postfix) with ESMTP id D32AD8FC15
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  1 May 2008 12:23:11 +0000 (UTC)
	(envelope-from yasu@home.utahime.org)
Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1])
	by utahime.as.wakwak.ne.jp (Postfix) with ESMTP id A59CC17022;
	Thu,  1 May 2008 21:23:10 +0900 (JST)
Received: from eastasia.home.utahime.org (localhost [127.0.0.1])
	by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id 642861719D;
	Thu,  1 May 2008 21:23:10 +0900 (JST)
Received: by eastasia.home.utahime.org (Postfix, from userid 1000)
	id 35C6917186; Thu,  1 May 2008 21:23:10 +0900 (JST)
Message-Id: <20080501122310.35C6917186@eastasia.home.utahime.org>
Date: Thu,  1 May 2008 21:23:10 +0900 (JST)
From: Yasuhiro KIMURA <yasu@utahime.org>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [PATCH] devel/py-qt4-qscintilla2: Fix warning of 'make index' when no python is installed.
X-Send-Pr-Version: 3.113
X-GNATS-Notify: danny@ricin.com

>Number:         123296
>Category:       ports
>Synopsis:       [PATCH] devel/py-qt4-qscintilla2: Fix warning of 'make index' when no python is installed.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 01 12:30:01 UTC 2008
>Closed-Date:    Fri May 02 09:47:43 UTC 2008
>Last-Modified:  Fri May  2 09:50:03 UTC 2008
>Originator:     Yasuhiro KIMURA
>Release:        FreeBSD 7.0-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD xxxx 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #0: Thu Apr 17 10:38:41 JST 2008 xxxx i386


	
>Description:
	When no python is installed (and py-qt4-qscintilla2 neither),
	make index warns with following messages:

	maybe# make index
	Generating INDEX-7 - please wait../usr/local/bin/python2.5: not found
	"Makefile", line 43: warning: "/usr/local/bin/python2.5 -c "import sys; print sys.version[:3]"" returned non-zero status

	
>How-To-Repeat:
	1. Deinstall any version of python.
	2. Go to /usr/ports
	3. type 'make index' and return key.

	
>Fix:

	

--- patch-py-qt4-qscintilla2 begins here ---
Index: Makefile
===================================================================
RCS file: /usr1/freebsd/cvsroot/ports/devel/py-qt4-qscintilla2/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	20 Mar 2008 12:40:56 -0000	1.5
+++ Makefile	1 May 2008 10:54:14 -0000
@@ -40,7 +40,7 @@
 .include "../py-sip/files/bsd.pyqt.mk"
 .include <bsd.port.pre.mk>
 
-PYVER!=		${PYTHON_CMD} -c "import sys; print sys.version[:3]"
+PYVER=		${PYTHON_VER}
 
 .if defined(WITH_DEBUG)
 ARGS+=		-u
--- patch-py-qt4-qscintilla2 ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu May 1 12:30:08 UTC 2008 
Responsible-Changed-Why:  
freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=123296 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu May 1 12:30:14 UTC 2008 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: danny@ricin.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/123296: [PATCH] devel/py-qt4-qscintilla2: Fix warning of 'make index' when no python is installed.
Date: Thu, 1 May 2008 12:30:11 UT

 Maintainer of devel/py-qt4-qscintilla2,
 
 Please note that PR ports/123296 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/123296
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
Responsible-Changed-From-To: freebsd-python->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Thu May 1 13:16:55 UTC 2008 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=123296 
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Fri May 2 09:47:42 UTC 2008 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/123296: commit references a PR
Date: Fri,  2 May 2008 09:47:40 +0000 (UTC)

 miwi        2008-05-02 09:47:35 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/py-qt4-qscintilla2 Makefile 
   Log:
   - Fix INDEX warnings
   
   PR:             123296
   Submitted by:   Yasuhiro KIMURA <yasu@utahime.org>
   Approved by:    maintainer
   
   Revision  Changes    Path
   1.6       +1 -1      ports/devel/py-qt4-qscintilla2/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:
