Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 1999 16:31:44 -0700 (PDT)
From:      cpiazza@home.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/11811: Update databases/gdbm
Message-ID:  <19990520233144.180781446@norn.ca.eu.org>

next in thread | raw e-mail | index | archive | help

>Number:         11811
>Category:       ports
>Synopsis:       Update databases/gdbm
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 20 16:40:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Chris Piazza
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
n/a
>Environment:

FreeBSD norn.ca.eu.org 4.0-CURRENT FreeBSD 4.0-CURRENT #213: Wed May 19 09:07:23
 PDT 1999     norn@norn.ca.eu.org:/usr/src/sys/compile/NORN  i386

>Description:

Update to 1.8.0.  This now creates shared libraries and, to the best of my
knowledge, is the first port to USE_LIBTOOL ;-) (it was easier than mucking
around with the ones that came with the distribution, for sure.)

>How-To-Repeat:


>Fix:
	
Index: gdbm/Makefile
===================================================================
RCS file: /cvs/FreeBSD/ports/databases/gdbm/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	1999/01/17 04:01:49	1.6
+++ Makefile	1999/05/20 23:30:27
@@ -1,26 +1,26 @@
 # New ports collection makefile for: gdbm
-# Version required:	1.7.3
+# Version required:	1.8.0
 # Date created:		8 Apr 1996
 # Whom:			Brent J. Nordquist <bjn@visi.com>
 #
 # $Id: Makefile,v 1.6 1999/01/17 04:01:49 fenner Exp $
 #
 
-DISTNAME=          gdbm-1.7.3
-CATEGORIES=        databases
-MASTER_SITES=      ${MASTER_SITE_GNU}
+DISTNAME=	gdbm-1.8.0
+CATEGORIES=	databases
+MASTER_SITES=	${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=	gdbm
 
-MAINTAINER=        bjn@visi.com
+MAINTAINER=	bjn@visi.com
 
-GNU_CONFIGURE=     yes
-MAKE_FLAGS=        CFLAGS="${CFLAGS}" LDFLAGS=-s -f
-MAN3=		   gdbm.3
+USE_LIBTOOL=	yes
+MAN3=		gdbm.3
 
 post-install:
 	@if [ ! -f ${PREFIX}/info/dir ]; then \
 	  ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
 	 fi
 	@install-info ${PREFIX}/info/gdbm.info ${PREFIX}/info/dir
+	@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
 
 .include <bsd.port.mk>
Index: gdbm/files/md5
===================================================================
RCS file: /cvs/FreeBSD/ports/databases/gdbm/files/md5,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 md5
--- md5	1996/04/12 06:44:15	1.1.1.1
+++ md5	1999/05/20 03:42:23
@@ -1 +1 @@
-MD5 (gdbm-1.7.3.tar.gz) = d7fe897b181e2d2295a8d47afa0ac150
+MD5 (gdbm-1.8.0.tar.gz) = cd543862287f55ad66e62cc9d82cc906
Index: gdbm/patches/patch-ab
===================================================================
RCS file: /cvs/FreeBSD/ports/databases/gdbm/patches/patch-ab,v
retrieving revision 1.1
diff -u -r1.1 patch-ab
--- patch-ab	1998/02/15 17:01:02	1.1
+++ patch-ab	1999/05/20 23:01:28
@@ -1,15 +1,24 @@
---- Makefile.in.orig	Sun May 15 13:28:49 1994
-+++ Makefile.in	Sat Feb 14 16:37:46 1998
-@@ -88,7 +88,7 @@
+--- Makefile.in.orig	Tue May 18 20:16:06 1999
++++ Makefile.in	Thu May 20 16:01:22 1999
+@@ -31,7 +31,7 @@
+ LDFLAGS =
  
+ # Common prefix for installation directories
+-prefix = /usr/local
++prefix = @prefix@
+ exec_prefix = $(prefix)
+ binprefix = $(exec_prefix)
+ manprefix = $(prefix)
+@@ -115,7 +115,7 @@
+ 
  DISTFILES = $(SRCS) $(HDRS) $(MSCFILES)
  
--all: libgdbm.a
-+all: libgdbm.a info
+-all: libgdbm.la
++all: libgdbm.la info
  
  progs: $(PROGS)
  
-@@ -149,7 +149,7 @@
+@@ -187,7 +187,7 @@
  
  info: gdbm.info
  
Index: gdbm/pkg/PLIST
===================================================================
RCS file: /cvs/FreeBSD/ports/databases/gdbm/pkg/PLIST,v
retrieving revision 1.3
diff -u -r1.3 PLIST
--- PLIST	1998/08/17 08:31:58	1.3
+++ PLIST	1999/05/20 23:12:50
@@ -4,3 +4,8 @@
 @exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
 @exec install-info %D/info/gdbm.info %D/info/dir
 lib/libgdbm.a
+lib/libgdbm.la
+lib/libgdbm.so
+lib/libgdbm.so.2
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B


-Chris

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990520233144.180781446>