Subject: Re: pkg/33237: Update databases/qdbm from 1.8.47 to 1.8.48
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: OBATA Akio <obata@lins.jp>
List: pkgsrc-bugs
Date: 04/11/2006 13:30:02
The following reply was made to PR pkg/33237; it has been noted by GNATS.

From: OBATA Akio <obata@lins.jp>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/33237: Update databases/qdbm from 1.8.47 to 1.8.48
Date: Tue, 11 Apr 2006 22:25:21 +0900

 On Tue, 11 Apr 2006 21:42:15, joerg@britannica.bec.de wrote:
 
 >  Can you teach it to use libtool as well? That makes handling the
 >  libraries even easier :-)
 
 It already have Makefile using libtool, `LTmakefile'.
 
 However, I don't use that so that minimum dependency.
 
 Here is a patch for libtool version.
 
 Index: Makefile
 ===================================================================
 RCS file: /home/cvsroot/NetBSD/pkgsrc/databases/qdbm/Makefile,v
 retrieving revision 1.4
 diff -u -r1.4 Makefile
 --- Makefile    2 Apr 2006 20:13:54 -0000       1.4
 +++ Makefile    11 Apr 2006 12:57:11 -0000
 @@ -7,6 +7,9 @@
 
  COMMENT=       Quick Database Manager - library of routines for managing a db
 
 +USE_LIBTOOL=   yes
 +MAKEFILE=      LTmakefile
 +
  GNU_CONFIGURE= yes
  CONFIGURE_ARGS+=       --enable-zlib
  CONFIGURE_ARGS+=       --enable-iconv
 Index: Makefile.common
 ===================================================================
 RCS file: /home/cvsroot/NetBSD/pkgsrc/databases/qdbm/Makefile.common,v
 retrieving revision 1.4
 diff -u -r1.4 Makefile.common
 --- databases/qdbm/Makefile.common     2 Apr 2006 20:13:54 -0000       1.4
 +++ databases/qdbm/Makefile.common     11 Apr 2006 12:54:22 -0000
 @@ -4,7 +4,7 @@
  DISTNAME=      qdbm-${QDBM_VERSION}
  CATEGORIES=    databases
  MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=qdbm/}
 -QDBM_VERSION=  1.8.47
 +QDBM_VERSION=  1.8.48
 
  MAINTAINER=    obata@lins.jp
  HOMEPAGE=      http://qdbm.sourceforge.net/
 Index: PLIST
 ===================================================================
 RCS file: /home/cvsroot/NetBSD/pkgsrc/databases/qdbm/PLIST,v
 retrieving revision 1.5
 diff -u -r1.5 PLIST
 --- databases/qdbm/PLIST       2 Apr 2006 20:13:54 -0000       1.5
 +++ databases/qdbm/PLIST       11 Apr 2006 12:48:56 -0000
 @@ -25,10 +25,7 @@
  include/relic.h
  include/villa.h
  include/vista.h
 -lib/libqdbm.a
 -lib/libqdbm.so
 -lib/libqdbm.so.12
 -lib/libqdbm.so.12.8.0
 +lib/libqdbm.la
  lib/pkgconfig/qdbm.pc
  man/man1/cbcodec.1
  man/man1/cbtest.1
 Index: distinfo
 ===================================================================
 RCS file: /home/cvsroot/NetBSD/pkgsrc/databases/qdbm/distinfo,v
 retrieving revision 1.6
 diff -u -r1.6 distinfo
 --- databases/qdbm/distinfo    2 Apr 2006 20:13:54 -0000       1.6
 +++ databases/qdbm/distinfo    11 Apr 2006 12:56:26 -0000
 @@ -1,11 +1,12 @@
  $NetBSD: distinfo,v 1.6 2006/04/02 20:13:54 wiz Exp $
 
 -SHA1 (qdbm-1.8.47.tar.gz) = c945fe39b6718de3d1c5b03bba5882fc8e567c94
 -RMD160 (qdbm-1.8.47.tar.gz) = 1a44b37194eaf1e39181f6d99091e6942c4b6ce2
 -Size (qdbm-1.8.47.tar.gz) = 893430 bytes
 +SHA1 (qdbm-1.8.48.tar.gz) = fd5aea55ff7620c6c6947d4a3d3d576ec3c779a7
 +RMD160 (qdbm-1.8.48.tar.gz) = d9ae92666efe7b3c24bebde6d07ee39d4cf7bf50
 +Size (qdbm-1.8.48.tar.gz) = 894581 bytes
  SHA1 (patch-aa) = 4e9cc93351f577c33663065fcb8e8919bd1a873e
  SHA1 (patch-ab) = cfd59f30dc058766357461ca3265748c52665fd6
  SHA1 (patch-ac) = 31164f476b2e092b2a2664e2599a87e340550f6d
  SHA1 (patch-ad) = 0ec2622a8d2a201051a3d7c835e12804041c70ed
  SHA1 (patch-ae) = 06543315d0c9350b024a10cd4747107626de3526
  SHA1 (patch-af) = f73702a19230eca143945703b2bdd35b3282d636
 +SHA1 (patch-ag) = c3bd980465df960744563c93f9e847ae4ad565c2
 Index: patches/patch-ag
 ===================================================================
 RCS file: patches/patch-ag
 diff -N patches/patch-ag
 --- /dev/null   1 Jan 1970 00:00:00 -0000
 +++ databases/qdbm/patches/patch-ag    11 Apr 2006 13:08:19 -0000
 @@ -0,0 +1,28 @@
 +$NetBSD$
 +
 +--- LTmakefile.in.orig 2006-03-09 16:22:00.000000000 +0900
 ++++ LTmakefile.in
 +@@ -37,7 +37,7 @@ MYLIBDIR = @libdir@
 + MYBINDIR = @bindir@
 + MYMAN1DIR = @mandir@/man1
 + MYMAN3DIR = @mandir@/man3
 +-MYSHAREDIR = $(prefix)/share/$(PACKAGE)
 ++MYSHAREDIR = $(prefix)/share/doc/$(PACKAGE)
 + MYPCDIR = @libdir@/pkgconfig
 +
 + # Building binaries
 +@@ -46,11 +46,11 @@ CC = gcc
 + CFLAGS = -I. @MYDEFS@ -D_XOPEN_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 \
 +   -D_XOPEN_SOURCE_EXTENDED=1 -D_GNU_SOURCE=1 -D_HPUX_SOURCE=1 \
 +   -D_POSIX_MAPPED_FILES=1 -D_POSIX_SYNCHRONIZED_IO=1 \
 +-  -DPIC=1 -D_REENTRANT=1 -O3
 ++  -DPIC=1 $(PTHREAD_CFLAGS) -O3
 + LD = gcc
 +-LIBLDFLAGS = -rpath $(MYLIBDIR) -R $(MYLIBDIR) \
 ++LIBLDFLAGS = @LDFLAGS@ -rpath $(MYLIBDIR) -R $(MYLIBDIR) \
 +   -version-info $$(($(LIBVER)+$(LIBREV))):0:$(LIBREV) @LIBS@
 +-LDFLAGS = -rpath $(MYLIBDIR) -R $(MYLIBDIR) -L. -lqdbm @LIBS@
 ++LDFLAGS = @LDFLAGS@ -rpath $(MYLIBDIR) -R $(MYLIBDIR) -L. -lqdbm @LIBS@
 + INSTALL = install
 + MKDIR = mkdir -p
 + CP = cp -rf