Date: Sun, 7 May 2006 16:28:24 +0400 (MSD) From: Dmitry Marakasov <amdmi3@mail.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/96910: [MAINTAINER] graphics/kudu Fix build on 4.x Message-ID: <20060507122824.869A638E@hades.panopticon> Resent-Message-ID: <200605071230.k47CULRt057286@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060507122824.869A638E>