ports/123296: [PATCH] devel/py-qt4-qscintilla2: Fix warning of 'make index' when no python is installed.
Yasuhiro KIMURA
yasu at utahime.org
Thu May 1 12:30:02 UTC 2008
>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:
More information about the freebsd-ports-bugs
mailing list