Update of /cvsroot/fink/experimental/beren12/finkinfo/net
In directory usw-pr-cvs1:/tmp/cvs-serv1058

Modified Files:
        gift-0.10.0-20020916-1.info gift-0.10.0-20020916-1.patch 
Log Message:
fixed db4 linking

Index: gift-0.10.0-20020916-1.info
===================================================================
RCS file: /cvsroot/fink/experimental/beren12/finkinfo/net/gift-0.10.0-20020916-1.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gift-0.10.0-20020916-1.info 18 Sep 2002 19:09:48 -0000      1.1
+++ gift-0.10.0-20020916-1.info 18 Sep 2002 22:43:37 -0000      1.2
@@ -3,14 +3,13 @@
 Revision: 1
 Source: http://homepage.mac.com/beren/%n-%v.tar.gz
 Source-MD5: f7566a3c6e763539a1062de0fb7ec381
-Depends: dlcompat, libvorbis0-shlibs
+Depends: dlcompat, db4, db4-shlibs, libvorbis0-shlibs
 BuildDepends: dlcompat, automake, autoconf25, libtool14, libvorbis0
 Recommends: giftcurs
 Patch: %f.patch
 NoSetLDFLAGS: true
 SetLIBS: -L%p/lib -ldl
-#SetCPPFLAGS: -Ddlsym=dlsym_prepend_underscore
-ConfigureParams: --mandir='${prefix}/share/man' --with-zlib=/usr --disable-libdl
+ConfigureParams: --mandir='${prefix}/share/man' --with-zlib=/usr --with-pic 
+--enable-libdb --enable-shared --enable-static --disable-libdl
 CompileScript: <<
 find . -name CVS -type d -print0 | xargs -0 rm -r --
 ./autogen.macosx.sh %c

Index: gift-0.10.0-20020916-1.patch
===================================================================
RCS file: 
/cvsroot/fink/experimental/beren12/finkinfo/net/gift-0.10.0-20020916-1.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- gift-0.10.0-20020916-1.patch        18 Sep 2002 21:00:40 -0000      1.2
+++ gift-0.10.0-20020916-1.patch        18 Sep 2002 22:43:37 -0000      1.3
@@ -1,6 +1,14 @@
 diff -ruN gift-0.10.0-20020916.orig/OpenFT/Makefile.am 
gift-0.10.0-20020916/OpenFT/Makefile.am
 --- gift-0.10.0-20020916.orig/OpenFT/Makefile.am       2002-09-16 21:41:52.000000000 
-0600
-+++ gift-0.10.0-20020916/OpenFT/Makefile.am    2002-09-18 14:39:02.000000000 -0600
++++ gift-0.10.0-20020916/OpenFT/Makefile.am    2002-09-18 16:26:21.000000000 -0600
+@@ -1,6 +1,6 @@
+ AM_CFLAGS = $(GIFT_CFLAGS) $(LIBDB_CFLAGS)
+ 
+-INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/src
++INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/src $(LIBDB_CFLAGS)
+ 
+ plugin_LTLIBRARIES = libOpenFT.la
+ 
 @@ -26,5 +26,4 @@
        $(top_builddir)/lib/libgiFT.la \
        $(LIBDB_LIBS)
@@ -20,6 +28,18 @@
  
        /* OpenFT, here we come :) */
        node_maintain_links (NULL);
+diff -ruN gift-0.10.0-20020916.orig/OpenFT/share_host.c 
+gift-0.10.0-20020916/OpenFT/share_host.c
+--- gift-0.10.0-20020916.orig/OpenFT/share_host.c      2002-09-15 23:09:27.000000000 
+-0600
++++ gift-0.10.0-20020916/OpenFT/share_host.c   2002-09-18 16:17:28.000000000 -0600
+@@ -207,7 +207,7 @@
+       if ((ret = dbp->set_cachesize (dbp, 0, ((nrec / 40) + 20) * 1024, 0)))
+               TRACE (("DB->set_cachesize failed: %s", db_strerror (ret)));
+ 
+-      if ((ret = dbp->open (dbp, path, NULL, type, DB_CREATE, 0664)))
++      if ((ret = dbp->open (dbp, path, NULL, NULL, type, DB_CREATE, 0664)))
+       {
+               TRACE (("DB->open failed: %s", db_strerror (ret)));
+ 
 diff -ruN gift-0.10.0-20020916.orig/autogen.macosx.sh 
gift-0.10.0-20020916/autogen.macosx.sh
 --- gift-0.10.0-20020916.orig/autogen.macosx.sh        2002-08-10 15:07:33.000000000 
-0600
 +++ gift-0.10.0-20020916/autogen.macosx.sh     2002-09-18 13:34:49.000000000 -0600
@@ -60,16 +80,18 @@
  xlc )
 diff -ruN gift-0.10.0-20020916.orig/configure.ac gift-0.10.0-20020916/configure.ac
 --- gift-0.10.0-20020916.orig/configure.ac     2002-09-16 21:41:50.000000000 -0600
-+++ gift-0.10.0-20020916/configure.ac  2002-09-18 13:34:49.000000000 -0600
-@@ -291,7 +291,7 @@
++++ gift-0.10.0-20020916/configure.ac  2002-09-18 15:53:30.000000000 -0600
+@@ -291,8 +291,8 @@
  if test x$use_libdb = xyes
  then
    for dbname in db-4 db4 db-4.0 db; do
 -    AC_CHECK_LIB($dbname, db_create_4000,
+-                  [ LIBDB_CFLAGS=
 +    AC_CHECK_LIB($dbname, db_create,
-                   [ LIBDB_CFLAGS=
++                  [ LIBDB_CFLAGS="-I$prefix/include/db4"
                        LIBDB_LIBS="-l$dbname"
                        AC_SUBST(LIBDB_CFLAGS)
+                       AC_SUBST(LIBDB_LIBS)
 @@ -309,7 +309,7 @@
  dnl Check for the presence of ZLIB libraries and headers
  dnl ###########################################################################



-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to