ports/111797: [MAINTAINER] net/mediatomb: fix build with threaded sqlite3

Leonhard Wimmer leo at mediatomb.cc
Tue Apr 17 23:20:02 UTC 2007


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



More information about the freebsd-ports-bugs mailing list