ports/151317: [PATCH] databases/xapian-bindings: syntax error in configure script

Jilles Tjoelker jilles at stack.nl
Fri Oct 8 16:40:03 UTC 2010

>Number:         151317
>Category:       ports
>Synopsis:       [PATCH] databases/xapian-bindings: syntax error in configure script
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 08 16:40:02 UTC 2010
>Originator:     Jilles Tjoelker
>Release:        FreeBSD 9.0-CURRENT
MCGV Stack
patched sh
There is a syntax error in the configure script.

Upstream has already fixed the problem in their Subversion repository,
see http://trac.xapian.org/ticket/509

Note that different versions of xapian-core and xapian-bindings tend to
be incompatible and cause compiler errors. This is currently
(2010-10-08) the case and causes failures unrelated to the syntax error
in the configure script.

Build/install the port with patched sh.

The patch (to head r212508) is available at
until I commit it to 9-CURRENT.
Upgrade the port (and databases/xapian-core) to a version where the
problem has been fixed (such a release does not exist yet)
Add the included patch-configure in ports/databases/xapian-bindings/files/

--- patch-configure begins here ---
--- configure.orig	2010-02-14 12:07:29.000000000 +0100
+++ configure	2010-10-08 18:04:04.000000000 +0200
@@ -15156,7 +15156,7 @@
 	mingw* | pw32*)
 	  PYTHON_LIBS=`$PYTHON -c 'import os,sys;print("-L"+os.path.join(sys.prefix,"libs").replace(os.sep,"/")+" -lpython"+sys.version[:3].replace(".",""))'` ;;
-	  PYTHON_LIBS=`$PYTHON -c 'import os,sys;print("-L"+os.path.join(sys.path[3],"config")+" -lpython"+sys.version[:3]')` ;;
+	  PYTHON_LIBS=`$PYTHON -c 'import os,sys;print("-L"+os.path.join(sys.path[3],"config")+" -lpython"+sys.version[:3])'` ;;
--- patch-configure ends here ---


More information about the freebsd-ports-bugs mailing list