aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-09-13 07:51:09 +0800
committerjylefort <jylefort@FreeBSD.org>2005-09-13 07:51:09 +0800
commit19c8d54db6452fb41adad0d8aab299788c6648ca (patch)
tree0e349d6fb83a3dff974d0e7ed081502ccd2cd0a3 /databases
parent11558e01593288df81caafc16291a81757f7c4f0 (diff)
downloadfreebsd-ports-gnome-19c8d54db6452fb41adad0d8aab299788c6648ca.tar.gz
freebsd-ports-gnome-19c8d54db6452fb41adad0d8aab299788c6648ca.tar.zst
freebsd-ports-gnome-19c8d54db6452fb41adad0d8aab299788c6648ca.zip
Update to 0.6.1
PR: ports/86030 Submitted by: Marcus Alves Grando <marcus@corp.grupos.com.br>
Diffstat (limited to 'databases')
-rw-r--r--databases/libsdb/Makefile10
-rw-r--r--databases/libsdb/distinfo4
-rw-r--r--databases/libsdb/files/patch-Makefiles_Other22
-rw-r--r--databases/libsdb/files/patch-config.in29
-rw-r--r--databases/libsdb/pkg-plist3
5 files changed, 58 insertions, 10 deletions
diff --git a/databases/libsdb/Makefile b/databases/libsdb/Makefile
index 8ba744f32df9..2b40b461cc57 100644
--- a/databases/libsdb/Makefile
+++ b/databases/libsdb/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= libsdb
-PORTVERSION= 0.5.5
+PORTVERSION= 0.6.1
CATEGORIES= databases
MASTER_SITES= ftp://siag.nu/pub/libsdb/ \
http://siag.nu/pub/libsdb/
@@ -16,15 +16,11 @@ DISTNAME= sdb-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple database library
-USE_GNOME= gnometarget lthack
-USE_LIBTOOL_VER=15
INSTALLS_SHLIB= yes
+HAS_CONFIGURE= yes
+MAKE_ARGS= PREFIX="${PREFIX}" CC="${CC}" CFLAGS="${CFLAGS}"
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 --git a/databases/libsdb/distinfo b/databases/libsdb/distinfo
index 274fe8e42192..44b49b0bff35 100644
--- a/databases/libsdb/distinfo
+++ b/databases/libsdb/distinfo
@@ -1,2 +1,2 @@
-MD5 (sdb-0.5.5.tar.gz) = c943a26bce057927d4b4a6337fe48297
-SIZE (sdb-0.5.5.tar.gz) = 259588
+MD5 (sdb-0.6.1.tar.gz) = a5e3ba6a1784c328899c9097f1b7cf05
+SIZE (sdb-0.6.1.tar.gz) = 52258
diff --git a/databases/libsdb/files/patch-Makefiles_Other b/databases/libsdb/files/patch-Makefiles_Other
new file mode 100644
index 000000000000..2eb4c90a5aaa
--- /dev/null
+++ b/databases/libsdb/files/patch-Makefiles_Other
@@ -0,0 +1,22 @@
+--- Makefiles/Other.orig Tue Sep 13 00:26:50 2005
++++ Makefiles/Other Tue Sep 13 00:27:45 2005
+@@ -24,16 +24,13 @@
+
+ $(SHAREDLIB): $(SHAREDOBJ)
+ rm -f $(SHAREDLIB)
+- gcc -fPIC -shared -lc \
++ $(CC) -fPIC -shared \
+ -o $(SOVERSION) $(SHAREDOBJ)
+ ln -s $(SOVERSION) $(SHAREDLIB)
+
+ install-lib: $(STATICLIB) $(SHAREDLIB)
+- make uninstall-lib
+- make all
+- mkdir -p $(LIBDIR)
+- cp $(SOVERSION) $(LIBDIR)
+- cp $(STATICLIB) $(LIBDIR)
++ $(BSD_INSTALL_PROGRAM) $(SOVERSION) $(LIBDIR)
++ $(BSD_INSTALL_DATA) $(STATICLIB) $(LIBDIR)
+ cd $(LIBDIR) && ln -s $(SOVERSION) $(SHAREDLIB)
+ cd $(LIBDIR) && ln -s $(SOVERSION) $(SONAME)
+
diff --git a/databases/libsdb/files/patch-config.in b/databases/libsdb/files/patch-config.in
new file mode 100644
index 000000000000..a25531be0eb7
--- /dev/null
+++ b/databases/libsdb/files/patch-config.in
@@ -0,0 +1,29 @@
+--- config.in.orig Sat Feb 19 01:20:21 2005
++++ config.in Tue Sep 13 01:40:14 2005
+@@ -78,21 +78,22 @@
+ $(CC) -I. -L. -lsdb $(LDFLAGS) -o $@ sdbd.o
+
+ install-man:
+- mkdir -p $(MANDIR)/man3 && cp $(MAN3) $(MANDIR)/man3
+- mkdir -p $(MANDIR)/man8 && cp $(MAN8) $(MANDIR)/man8
++ $(BSD_INSTALL_MAN) $(MAN3) $(MANDIR)/man3
++ $(BSD_INSTALL_MAN) $(MAN8) $(MANDIR)/man8
+
+ uninstall-man:
+ cd $(MANDIR)/man3 && rm -f $(MAN3)
+ cd $(MANDIR)/man8 && rm -f $(MAN8)
+
+ install-prog: $(PROGS)
+- mkdir -p $(BINDIR) && cp $(PROGS) $(BINDIR)
++ $(BSD_INSTALL_PROGRAM) sdb_client sdbd_client sdbd $(BINDIR)
++ $(BSD_INSTALL_SCRIPT) sdb-config $(BINDIR)
+
+ uninstall-prog:
+ cd $(BINDIR) && rm -f $(PROGS)
+
+ install-header:
+- mkdir -p $(INCDIR) && cp $(HEADERS) $(INCDIR)
++ $(BSD_INSTALL_DATA) $(HEADERS) $(INCDIR)
+
+ uninstall-header:
+ cd $(INCDIR) && rm -f $(HEADERS)
diff --git a/databases/libsdb/pkg-plist b/databases/libsdb/pkg-plist
index cf18c42d8177..7a705c3f3648 100644
--- a/databases/libsdb/pkg-plist
+++ b/databases/libsdb/pkg-plist
@@ -5,4 +5,5 @@ bin/sdbd_client
include/sdb.h
lib/libsdb.a
lib/libsdb.so
-lib/libsdb.so.5
+lib/libsdb.so.0
+lib/libsdb.so.0.6.1