Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2002 15:10:17 -0800 (PST)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/44962: Update port: databases/libsdb to 0.5.1
Message-ID:  <200211052310.gA5NAHTk061510@www.freebsd.org>

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

>Number:         44962
>Category:       ports
>Synopsis:       Update port: databases/libsdb to 0.5.1
>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:   Tue Nov 05 15:20:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.7-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 0.5.1

New file:
files/patch-ltmain.sh

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/databases/libsdb/Makefile databases/libsdb/Makefile
--- /usr/ports/databases/libsdb/Makefile	Tue Sep 10 20:07:18 2002
+++ databases/libsdb/Makefile	Sun Nov  3 09:47:48 2002
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	libsdb
-PORTVERSION=	0.5.0
+PORTVERSION=	0.5.1
 CATEGORIES=	databases
 MASTER_SITES=	ftp://siag.nu/pub/libsdb/ \
 		http://siag.nu/pub/libsdb/
@@ -16,6 +16,7 @@
 MAINTAINER=	ports@FreeBSD.org
 
 GNU_CONFIGURE=	yes
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 INSTALLS_SHLIB=	yes
 
 MAN3=		sdb.3 sdb_init.3 sdb_open.3 sdb_close.3 sdb_query.3
diff -urN /usr/ports/databases/libsdb/distinfo databases/libsdb/distinfo
--- /usr/ports/databases/libsdb/distinfo	Tue Sep 10 20:07:18 2002
+++ databases/libsdb/distinfo	Sun Nov  3 09:39:28 2002
@@ -1 +1 @@
-MD5 (sdb-0.5.0.tar.gz) = 56c13b0ae609a2b4d9fad445b85bea14
+MD5 (sdb-0.5.1.tar.gz) = c37ea7ba086da341def577fde66fe57b
diff -urN /usr/ports/databases/libsdb/files/patch-ltmain.sh databases/libsdb/files/patch-ltmain.sh
--- /usr/ports/databases/libsdb/files/patch-ltmain.sh	Thu Jan  1 09:00:00 1970
+++ databases/libsdb/files/patch-ltmain.sh	Sun Nov  3 09:48:56 2002
@@ -0,0 +1,41 @@
+--- ltmain.sh.orig	Fri Dec 21 07:33:52 2001
++++ ltmain.sh	Sun Nov  3 09:48:46 2002
+@@ -1043,14 +1043,14 @@
+ 	    # These systems don't actually have a C library (as such)
+ 	    test "X$arg" = "X-lc" && continue
+ 	    ;;
+-	  *-*-openbsd*)
++	  *-*-openbsd* | *-*-frebsd*)
+ 	    # Do not include libc due to us having libc/libc_r.
+ 	    test "X$arg" = "X-lc" && continue
+ 	    ;;
+ 	  esac
+ 	 elif test "X$arg" = "X-lc_r"; then
+ 	  case $host in
+-	  *-*-openbsd*)
++	  *-*-openbsd* | *-*-freebsd*)
+ 	    # Do not include libc_r directly, use -pthread flag.
+ 	    continue
+ 	    ;;
+@@ -2441,7 +2441,7 @@
+ 	  *-*-netbsd*)
+ 	    # Don't link with libc until the a.out ld.so is fixed.
+ 	    ;;
+-	  *-*-openbsd*)
++	  *-*-openbsd* | *-*-freebsd*)
+ 	    # Do not include libc due to us having libc/libc_r.
+ 	    ;;
+ 	  *)
+@@ -4210,10 +4210,12 @@
+ 	fi
+ 
+ 	# Install the pseudo-library for information purposes.
++	if /usr/bin/false; then
+ 	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ 	instname="$dir/$name"i
+ 	$show "$install_prog $instname $destdir/$name"
+ 	$run eval "$install_prog $instname $destdir/$name" || exit $?
++	fi
+ 
+ 	# Maybe install the static library, too.
+ 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff -urN /usr/ports/databases/libsdb/pkg-plist databases/libsdb/pkg-plist
--- /usr/ports/databases/libsdb/pkg-plist	Tue Sep 10 20:07:18 2002
+++ databases/libsdb/pkg-plist	Sun Nov  3 09:40:18 2002
@@ -4,6 +4,5 @@
 bin/sdbd_client
 include/sdb.h
 lib/libsdb.a
-lib/libsdb.la
 lib/libsdb.so
 lib/libsdb.so.5

>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?200211052310.gA5NAHTk061510>