From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 7 12:30:22 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFEC316A403 for ; Sun, 7 May 2006 12:30:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F4F843D46 for ; Sun, 7 May 2006 12:30:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k47CUL29057287 for ; Sun, 7 May 2006 12:30:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k47CULRt057286; Sun, 7 May 2006 12:30:21 GMT (envelope-from gnats) Resent-Date: Sun, 7 May 2006 12:30:21 GMT Resent-Message-Id: <200605071230.k47CULRt057286@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, Dmitry Marakasov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB77216A4C5 for ; Sun, 7 May 2006 12:27:21 +0000 (UTC) (envelope-from amdmi3@mail.ru) Received: from mx2.mail.ru (mx2.mail.ru [194.67.23.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60A4D43D5A for ; Sun, 7 May 2006 12:27:19 +0000 (GMT) (envelope-from amdmi3@mail.ru) Received: from [213.148.29.33] (port=2107 helo=nexii.panopticon) by mx2.mail.ru with esmtp id 1FciM2-000NDD-00 for FreeBSD-gnats-submit@freebsd.org; Sun, 07 May 2006 16:27:18 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.2]) by nexii.panopticon (Postfix) with ESMTP id 6BC5111411 for ; Sun, 7 May 2006 16:32:29 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id 869A638E; Sun, 7 May 2006 16:28:24 +0400 (MSD) Message-Id: <20060507122824.869A638E@hades.panopticon> Date: Sun, 7 May 2006 16:28:24 +0400 (MSD) From: Dmitry Marakasov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/96910: [MAINTAINER] graphics/kudu Fix build on 4.x X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dmitry Marakasov List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 May 2006 12:30:22 -0000 >Number: 96910 >Category: ports >Synopsis: [MAINTAINER] graphics/kudu Fix build on 4.x >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun May 07 12:30:20 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Dmitry Marakasov >Release: FreeBSD 6.0-RELEASE-p4 i386 >Organization: >Environment: System: FreeBSD hades.panopticon 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #1: Fri Jan 27 12:07:19 MSK 2006 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386 >Description: On 4.x, sh doesn't recognise "let var+=1" expressions ===> configure doesn't detect python correctly ===> not all files get installed. The patch fixes described behavior. Reported by: pointyhat via kris >How-To-Repeat: On 4.x, try to `make package', get a complain about not installed $PREFIX/share/kudu/scripts/Axle-Spinner.py >Fix: --- kudu.patch begins here --- diff -ruN kudu.orig/files/patch-configure kudu/files/patch-configure --- kudu.orig/files/patch-configure Thu Jan 1 03:00:00 1970 +++ kudu/files/patch-configure Sun May 7 16:15:51 2006 @@ -0,0 +1,20 @@ +--- configure.orig Fri Dec 23 12:57:26 2005 ++++ configure Sun May 7 16:03:41 2006 +@@ -3043,7 +3043,7 @@ + #define HAVE_PYTHON_H 1 + _ACEOF + +- let have_python+=1 ++ have_python=$(($have_python+1)) + fi + + # Check for Python library path +@@ -3063,7 +3063,7 @@ + #AC_MSG_ERROR([cannot find Python library path]) + have_python=0 + else +- let have_python+=1 ++ have_python=$(($have_python+1)) + + cat >>confdefs.h <<\_ACEOF + #define HAVE_LIBPYTHON 1 --- kudu.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: