ports/60386: new ports/firebird has broken lang/php5

Nigel Weeks nigel at e-easy.com.au
Fri Dec 19 05:10:25 UTC 2003


>Number:         60386
>Category:       ports
>Synopsis:       new ports/firebird has broken lang/php5
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 18 21:10:20 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Nigel Weeks
>Release:        4.8-RELEASE (cvsup)
>Organization:
E-easy
>Environment:
FreeBSD vectra01.corp.e-easy.com.au 4.9-RELEASE FreeBSD 4.9-RELEASE #7: Thu Dec 18 14:35:21 EST 2003     nigel at vectra01.corp.e-easy.com.au:/usr/obj/usr/src/sys/VECTRA  i386
>Description:
      the Firebird database has been upgraded to release 1.5rc7, which now requires pthreads in all client software. php5 simply needs -pthread added when compiling client code
>How-To-Repeat:
      build any php5-based port, selecting 'Interbase'
>Fix:
      Apply this patch to the 'configure' AFTER the existing patch-configure script, and it configures, builds, and installs fine.
I called it 'patch-configure.2', so it ran second, and it worked fine.

(It may not up to standards, but it works)



--- configure.was       Fri Dec 19 15:24:15 2003
+++ configure   Fri Dec 19 15:24:44 2003
@@ -42051,7 +42051,7 @@
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-lfbclient  $LIBS"
+LIBS="-lfbclient  -pthread  $LIBS"
 cat > conftest.$ac_ext <<EOF
 #line 41883 "configure"
 #include "confdefs.h"
@@ -42083,7 +42083,7 @@
     LDFLAGS=$save_old_LDFLAGS
     ext_shared=$save_ext_shared
     
-    IBASE_LIBNAME=fbclient
+    IBASE_LIBNAME="fbclient  -pthread"
   
   
 else
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list