summaryrefslogtreecommitdiff
path: root/databases/libsdb
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-11-06 16:42:02 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-11-06 16:42:02 +0000
commit487aef86669b4eace739c8ee64dcd8a8a45a3ac4 (patch)
tree918e82af2d618963f5f163090cb44d164928a032 /databases/libsdb
parentupgrade to 0.6.6 (diff)
upgrade to 0.5.1
PR: 44962 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=69595
Diffstat (limited to 'databases/libsdb')
-rw-r--r--databases/libsdb/Makefile4
-rw-r--r--databases/libsdb/distinfo2
-rw-r--r--databases/libsdb/files/patch-ltmain.sh41
-rw-r--r--databases/libsdb/pkg-comment1
-rw-r--r--databases/libsdb/pkg-plist1
5 files changed, 45 insertions, 4 deletions
diff --git a/databases/libsdb/Makefile b/databases/libsdb/Makefile
index 5307267889aa..95e261ebd73a 100644
--- a/databases/libsdb/Makefile
+++ b/databases/libsdb/Makefile
@@ -7,7 +7,8 @@
#
PORTNAME= libsdb
-PORTVERSION= 0.5.0
+PORTVERSION= 0.5.1
+PORTCOMMENT= Simple database library
CATEGORIES= databases
MASTER_SITES= ftp://siag.nu/pub/libsdb/ \
http://siag.nu/pub/libsdb/
@@ -16,6 +17,7 @@ DISTNAME= sdb-${PORTVERSION}
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 --git a/databases/libsdb/distinfo b/databases/libsdb/distinfo
index a8fdef385b8e..6057636238ae 100644
--- a/databases/libsdb/distinfo
+++ b/databases/libsdb/distinfo
@@ -1 +1 @@
-MD5 (sdb-0.5.0.tar.gz) = 56c13b0ae609a2b4d9fad445b85bea14
+MD5 (sdb-0.5.1.tar.gz) = c37ea7ba086da341def577fde66fe57b
diff --git a/databases/libsdb/files/patch-ltmain.sh b/databases/libsdb/files/patch-ltmain.sh
new file mode 100644
index 000000000000..4ecdfcd91801
--- /dev/null
+++ b/databases/libsdb/files/patch-ltmain.sh
@@ -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 --git a/databases/libsdb/pkg-comment b/databases/libsdb/pkg-comment
deleted file mode 100644
index 31e9094ecd3d..000000000000
--- a/databases/libsdb/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-Simple database library
diff --git a/databases/libsdb/pkg-plist b/databases/libsdb/pkg-plist
index 04923b52d4c3..cf18c42d8177 100644
--- a/databases/libsdb/pkg-plist
+++ b/databases/libsdb/pkg-plist
@@ -4,6 +4,5 @@ bin/sdbd
bin/sdbd_client
include/sdb.h
lib/libsdb.a
-lib/libsdb.la
lib/libsdb.so
lib/libsdb.so.5