Date: Wed, 18 Apr 2007 01:13:58 +0200 (CEST) From: Leonhard Wimmer <leo@mediatomb.cc> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/111797: [MAINTAINER] net/mediatomb: fix build with threaded sqlite3 Message-ID: <20070417231358.4D8CE1C8B9A@winf.htu.tuwien.ac.at> Resent-Message-ID: <200704172320.l3HNK2KM020271@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 111797 >Category: ports >Synopsis: [MAINTAINER] net/mediatomb: fix build with threaded sqlite3 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Apr 17 23:20:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Leonhard Wimmer <leo@mediatomb.cc> >Release: FreeBSD 6.2-RELEASE-p2 i386 >Organization: >Environment: FreeBSD 6.2-RELEASE-p3 >Description: The recently added MediaTomb port won't build with sqlite3 if the sqlite3 port was built with threading support, because configure tries to build sqlite3 without -pthread. >How-To-Repeat: build and install sqlite3 port WITH_THREADS and then try to build MediaTomb WITH_SQLITE3 >Fix: apply this patch to files/patch-configure (No need to bump PORTREVISION because this patch only fixes cases in which the port didn't even build.) --- patch-1.diff begins here --- --- files/patch-configure Tue Apr 17 20:33:48 2007 +++ files/patch-configure Wed Apr 18 00:48:11 2007 @@ -1,5 +1,14 @@ ---- configure.orig Thu Mar 29 23:04:32 2007 -+++ configure Thu Mar 29 23:24:30 2007 +--- configure.orig Wed Apr 18 00:30:20 2007 ++++ configure Wed Apr 18 00:35:27 2007 +@@ -17349,7 +17349,7 @@ + + if test "x$SQLITE3_OK" = xyes; then + if test -n "$SQLITE3_SEARCH_LIBS"; then +- LDFLAGS="-L$SQLITE3_SEARCH_LIBS $RT_LIBS" ++ LDFLAGS="$LDFLAGS -L$SQLITE3_SEARCH_LIBS $RT_LIBS" + { echo "$as_me:$LINENO: Will search for sqlite3 libraries in $withval" >&5 + echo "$as_me: Will search for sqlite3 libraries in $withval" >&6;} + echo "$as_me:$LINENO: checking for sqlite3_open in -lsqlite3" >&5 @@ -23239,7 +23239,7 @@ echo "$as_me:$LINENO: result: $ac_cv_lib_extractor_EXTRACTOR_getKeywords" >&5 echo "${ECHO_T}$ac_cv_lib_extractor_EXTRACTOR_getKeywords" >&6 --- patch-1.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070417231358.4D8CE1C8B9A>