Date: Fri, 8 Oct 2010 18:36:06 +0200 (CEST) From: Jilles Tjoelker <jilles@stack.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/151317: [PATCH] databases/xapian-bindings: syntax error in configure script Message-ID: <20101008163606.CC4821732B@turtle.stack.nl> Resent-Message-ID: <201010081640.o98Ge2cp055855@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 08 16:40:02 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Jilles Tjoelker >Release: FreeBSD 9.0-CURRENT >Organization: MCGV Stack >Environment: patched sh >Description: 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. >How-To-Repeat: Build/install the port with patched sh. The patch (to head r212508) is available at http://www.stack.nl/~jilles/unix/sh-expand-parser-20100919.patch until I commit it to 9-CURRENT. >Fix: Either: Upgrade the port (and databases/xapian-core) to a version where the problem has been fixed (such a release does not exist yet) or: 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(".",""))'` ;; cygwin*) - 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])'` ;; *) PYTHON_LIBS= ;; esac --- patch-configure ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101008163606.CC4821732B>