Date: Thu, 1 May 2008 21:23:10 +0900 (JST) From: Yasuhiro KIMURA <yasu@utahime.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/123296: [PATCH] devel/py-qt4-qscintilla2: Fix warning of 'make index' when no python is installed. Message-ID: <20080501122310.35C6917186@eastasia.home.utahime.org> Resent-Message-ID: <200805011230.m41CU1Yb040141@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080501122310.35C6917186>