ports/65269: libgda2 build fails if it tried to build the firebird provider.

Michael Edenfield kutulu at kutulu.org
Tue Apr 6 18:51:42 UTC 2004


>Number:         65269
>Category:       ports
>Synopsis:       libgda2 build fails if it tried to build the firebird provider.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 06 11:50:11 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michael Edenfield
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD wombat.localnet 5.1-CURRENT FreeBSD 5.1-CURRENT #7: Sun Aug 24 21:35:57 EDT 2003 root at wombat.localnet:/usr/obj/usr/src/sys/ATHLON i386

>Description:

When building libgda2, if it tries to build the Firebird database, it will
fail during the linking step.  The configure script has hard-coded the
Firebird linker flags to link -ldl, which doesn't exist on FreeBSD.

The attached patch just removes this from the flags.  Someone better at
autoconf than me can probably make this detection happen at runtime
so this patch can go into the libgda2 source.
>How-To-Repeat:

Build libgda WITH_FIREBIRD=yes, or after installing databases/firebird.

>Fix:


--- libgda2.diff begins here ---
diff -urN libgda2.orig/files/patch-configure libgda2/files/patch-configure
--- libgda2.orig/files/patch-configure	Wed Dec 31 19:00:00 1969
+++ libgda2/files/patch-configure	Tue Apr  6 14:10:37 2004
@@ -0,0 +1,11 @@
+--- configure.orig	Tue Apr  6 14:10:07 2004
++++ configure	Tue Apr  6 14:10:19 2004
+@@ -23012,7 +23012,7 @@
+ _ACEOF
+ 
+ 		FIREBIRD_CFLAGS="-I${firebirddir}/include"
+-		FIREBIRD_LIBS="-L${firebirddir}/lib -lgds -ldl -lcrypt"
++		FIREBIRD_LIBS="-L${firebirddir}/lib -lgds -lcrypt"
+ 	fi
+ fi
+ 
--- libgda2.diff ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list