ports/64331: Update port: databases/libsdb to 0.5.2
KATO Tsuguru
tkato at prontomail.com
Tue Mar 16 13:10:11 UTC 2004
>Number: 64331
>Category: ports
>Synopsis: Update port: databases/libsdb to 0.5.2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Mar 16 05:10:10 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.9-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 0.5.2
Remove file:
files/patch-ltmain.sh
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/databases/libsdb/Makefile databases/libsdb/Makefile
--- /usr/ports/databases/libsdb/Makefile Sat Apr 12 22:38:25 2003
+++ databases/libsdb/Makefile Tue Mar 16 14:57:07 2004
@@ -7,7 +7,7 @@
#
PORTNAME= libsdb
-PORTVERSION= 0.5.1
+PORTVERSION= 0.5.2
CATEGORIES= databases
MASTER_SITES= ftp://siag.nu/pub/libsdb/ \
http://siag.nu/pub/libsdb/
@@ -16,11 +16,15 @@
MAINTAINER= ports at FreeBSD.org
COMMENT= Simple database library
-GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+USE_GNOME= gnometarget lthack
+USE_LIBTOOL_VER= 13
INSTALLS_SHLIB= yes
MAN3= sdb.3 sdb_init.3 sdb_open.3 sdb_close.3 sdb_query.3
MAN8= sdbd.8
+
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|= -lsdb|= $$(top_builddir)/libsdb.la|g' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>
diff -urN /usr/ports/databases/libsdb/distinfo databases/libsdb/distinfo
--- /usr/ports/databases/libsdb/distinfo Thu Jan 29 20:20:43 2004
+++ databases/libsdb/distinfo Tue Mar 16 14:46:09 2004
@@ -1,2 +1,2 @@
-MD5 (sdb-0.5.1.tar.gz) = c37ea7ba086da341def577fde66fe57b
-SIZE (sdb-0.5.1.tar.gz) = 236028
+MD5 (sdb-0.5.2.tar.gz) = bcc84f84914a7c4ebb5953eec331ab15
+SIZE (sdb-0.5.2.tar.gz) = 259220
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 Nov 7 01:42:02 2002
+++ databases/libsdb/files/patch-ltmain.sh Thu Jan 1 09:00:00 1970
@@ -1,41 +0,0 @@
---- 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"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list