Bug 11811 - Update databases/gdbm
Summary: Update databases/gdbm
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-05-21 00:40 UTC by cpiazza
Modified: 1999-06-06 17:48 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cpiazza 1999-05-21 00:40:00 UTC
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.)

Fix: 

-Chris--MEkP0TD5HiK0h8WaY6357TXZBfeMFpWVgmZ01NaWfP7tQzIb
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

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
Comment 1 Steve Price freebsd_committer freebsd_triage 1999-06-06 17:42:28 UTC
State Changed
From-To: open->closed

Update committed, thanks!