ports/96910: [MAINTAINER] graphics/kudu Fix build on 4.x

Dmitry Marakasov amdmi3 at mail.ru
Sun May 7 12:30:22 UTC 2006


>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 at 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:



More information about the freebsd-ports-bugs mailing list