aboutsummaryrefslogtreecommitdiffstats
path: root/databases/gigabase
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2000-10-20 23:36:29 +0800
committerkevlo <kevlo@FreeBSD.org>2000-10-20 23:36:29 +0800
commit0a7ed273de088cb824d0d90e32547c8f34396d95 (patch)
tree77530dc50e46b5e763ddce7679a2e83a7a69144a /databases/gigabase
parent85ea42b265a8e28cd195517822635e87b9ac62d2 (diff)
downloadfreebsd-ports-gnome-0a7ed273de088cb824d0d90e32547c8f34396d95.tar.gz
freebsd-ports-gnome-0a7ed273de088cb824d0d90e32547c8f34396d95.tar.zst
freebsd-ports-gnome-0a7ed273de088cb824d0d90e32547c8f34396d95.zip
Update to version 2.16
PR: 22093 Submitted by: MAINTAINER
Diffstat (limited to 'databases/gigabase')
-rw-r--r--databases/gigabase/Makefile20
-rw-r--r--databases/gigabase/distinfo2
-rw-r--r--databases/gigabase/files/patch-aa33
-rw-r--r--databases/gigabase/pkg-plist4
4 files changed, 43 insertions, 16 deletions
diff --git a/databases/gigabase/Makefile b/databases/gigabase/Makefile
index 43d9b5ecaf39..c5d0d513bd56 100644
--- a/databases/gigabase/Makefile
+++ b/databases/gigabase/Makefile
@@ -6,15 +6,31 @@
#
PORTNAME= gigabase
-PORTVERSION= 2.14
+PORTVERSION= 2.16
CATEGORIES= databases
MASTER_SITES= http://www.ispras.ru/~knizhnik/
MAINTAINER= ozz@FreeBSD.org.ru
WRKSRC= ${WRKDIR}/${PORTNAME}
+INSTALLS_SHLIB= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --disable-shared --build=$(ARCH} --host=unknown-freebsd --target=${OSREL}
+CONFIGURE_ARGS= --enable-shared --build=$(ARCH} --host=unknown-freebsd --target=${OSREL}
+
+do-install:
+ @${MKDIR} -m 755 ${PREFIX}/include/${PORTNAME}
+ @for f in gigabase.h stdtp.h class.h database.h cursor.h reference.h \
+ wwwapi.h array.h file.h hashtab.h btree.h sync.h query.h \
+ datetime.h pagepool.h blob.h container.h cli.h ; do \
+ ${INSTALL} -C -o root -g wheel -m 0644 ${WRKSRC}/$$f \
+ ${PREFIX}/include/${PORTNAME}/$$f ;\
+ done
+ @${INSTALL} -C -o root -g wheel -m 0755 -s ${WRKSRC}/.libs/subsql \
+ ${PREFIX}/bin/subsql
+ @for f in libgigabase_r.a libgigabase_r.so.2 libcli_r.a libcli_r.so.2 ; do \
+ ${INSTALL} -C -o root -g wheel -m 0644 ${WRKSRC}/.libs/$$f \
+ ${PREFIX}/lib/$f ;\
+ done
.include <bsd.port.mk>
diff --git a/databases/gigabase/distinfo b/databases/gigabase/distinfo
index 8dcf74aa0066..ffa4b105762a 100644
--- a/databases/gigabase/distinfo
+++ b/databases/gigabase/distinfo
@@ -1 +1 @@
-MD5 (gigabase-2.14.tar.gz) = 5aca4afaeaf9bd25893fa6c4f9419573
+MD5 (gigabase-2.16.tar.gz) = 4082107097cf9cf98ded226f65ab90a1
diff --git a/databases/gigabase/files/patch-aa b/databases/gigabase/files/patch-aa
index 32c2cf1b737d..5524f1c1c724 100644
--- a/databases/gigabase/files/patch-aa
+++ b/databases/gigabase/files/patch-aa
@@ -1,11 +1,22 @@
---- unisock.cpp.orig Tue Aug 15 17:01:26 2000
-+++ unisock.cpp Tue Aug 15 17:01:49 2000
-@@ -140,7 +140,7 @@
- return NULL;
- }
- struct sockaddr_in insock;
--#if defined(__linux__) || (defined(__FreeBSD__) && __FreeBSD > 3)
-+#if defined(__linux__) || (defined(__FreeBSD__) && __FreeBSD__ > 3)
- socklen_t len = sizeof(insock);
- #elif defined(_AIX)
- size_t len = sizeof(insock);
+--- Makefile.in.orig Wed Aug 16 20:10:54 2000
++++ Makefile.in Wed Oct 18 03:29:59 2000
+@@ -41,8 +41,8 @@
+ CXX = @CXX@
+ CC = @CC@
+ DEFS = @DEFS@
+-CXXFLAGS = @CXXFLAGS@ $(DEFS)
+-CFLAGS = @CFLAGS@ $(DEFS)
++CXXFLAGS = @CXXFLAGS@ $(DEFS) -D_THREAD_SAFE
++CFLAGS = @CFLAGS@ $(DEFS) -D_THREAD_SAFE
+ LD = $(CXX)
+ LDFLAGS = @LDFLAGS@ @TDEFS@ @LIBS@
+ AR = ar
+@@ -122,7 +122,7 @@
+ $(LIBTOOL) --mode=install $(INSTALL) $(GB_LIB) $(CLI_LIB) $(libdir)
+ mkdir -p $(bindir)
+ cp subsql $(bindir)
+-# strip $(bindir)/subsql
++ strip $(bindir)/subsql
+
+ clean:
+ rm -f *.o *.lo core *~
diff --git a/databases/gigabase/pkg-plist b/databases/gigabase/pkg-plist
index 366a40dc3d0e..4ca689123772 100644
--- a/databases/gigabase/pkg-plist
+++ b/databases/gigabase/pkg-plist
@@ -16,9 +16,9 @@ include/gigabase/pagepool.h
include/gigabase/blob.h
include/gigabase/container.h
include/gigabase/cli.h
-lib/libgigabase_r.la
-lib/libcli_r.la
lib/libgigabase_r.a
lib/libcli_r.a
+lib/libgigabase_r.so.2
+lib/libcli_r.so.2
bin/subsql
@dirrm include/gigabase