From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 1 12:30:01 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBDD31065675 for ; Thu, 1 May 2008 12:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C4CFD8FC1B for ; Thu, 1 May 2008 12:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m41CU1Po040142 for ; Thu, 1 May 2008 12:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m41CU1Yb040141; Thu, 1 May 2008 12:30:01 GMT (envelope-from gnats) Resent-Date: Thu, 1 May 2008 12:30:01 GMT Resent-Message-Id: <200805011230.m41CU1Yb040141@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, Yasuhiro KIMURA Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 158CD106564A for ; 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 ; 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/123296: [PATCH] devel/py-qt4-qscintilla2: Fix warning of 'make index' when no python is installed. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2008 12:30:02 -0000 >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: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 01 12:30:01 UTC 2008 >Closed-Date: >Last-Modified: >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 -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: >Unformatted: