aboutsummaryrefslogtreecommitdiff
path: root/databases/metakit/files
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-07-31 08:38:54 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-07-31 08:38:54 +0000
commit289b23630362aca22699301b45b19d137f228788 (patch)
tree57625fb2f9089c53995abc94ac602b1c73e851a6 /databases/metakit/files
parent792a8c631e1e4b29cb44fe6355c8ab59547776e2 (diff)
downloadports-289b23630362aca22699301b45b19d137f228788.tar.gz
ports-289b23630362aca22699301b45b19d137f228788.zip
Notes
Diffstat (limited to 'databases/metakit/files')
-rw-r--r--databases/metakit/files/patch-ab41
-rw-r--r--databases/metakit/files/patch-ac15
-rw-r--r--databases/metakit/files/patch-ad19
3 files changed, 75 insertions, 0 deletions
diff --git a/databases/metakit/files/patch-ab b/databases/metakit/files/patch-ab
new file mode 100644
index 000000000000..4f57fbeae526
--- /dev/null
+++ b/databases/metakit/files/patch-ab
@@ -0,0 +1,41 @@
+--- ../unix/Makefile.in.orig Fri Mar 17 18:25:27 2000
++++ ../unix/Makefile.in Sat Jul 29 15:31:03 2000
+@@ -76,15 +76,15 @@
+ $(INSTALL_DATA) ../include/mk4str.h $(includedir)/mk4str.h
+ $(INSTALL_DATA) ../include/mk4str.inl $(includedir)/mk4str.inl
+ $(INSTALL_DATA) -s libmk4.a $(libdir)/libmk4.a
+- $(INSTALL_PROGRAM) -s libmk4.la $(libdir)/libmk4.la
++ $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) -s libmk4.la $(libdir)/libmk4.la
+
+ install-tcl: libmk4tcl.a libmk4tcl.la
+ $(INSTALL_DATA) -s libmk4tcl.a $(libdir)/libmk4tcl.a
+- $(INSTALL_PROGRAM) -s libmk4tcl.la $(libdir)/libmk4tcl.la
++ $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) -s libmk4tcl.la $(libdir)/libmk4tcl.la
+
+ install-python: libmk4py.a libmk4py.la
+ $(INSTALL_DATA) -s libmk4py.a $(libdir)/libmk4py.a
+- $(INSTALL_PROGRAM) -s libmk4py.la $(libdir)/libmk4py.la
++ $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) -s libmk4py.la $(libdir)/libmk4py.la
+
+ clean:
+ rm -f *.a *.la *.o *.lo *.so
+@@ -108,8 +108,8 @@
+ config.status: $(srcdir)/configure
+ $(SHELL) ./config.status --recheck
+
+-$(srcdir)/configure: $(srcdir)/configure.in
+- cd $(srcdir) && autoconf
++#$(srcdir)/configure: $(srcdir)/configure.in
++# cd $(srcdir) && autoconf
+
+ dist-tar:
+ rm -rf metakit-$(VERSION)
+@@ -150,7 +150,7 @@
+ -rpath $(libdir) $(SPYOBJS) $(SHLOBJS)
+
+ Mk4py.so: $(PYOBJS) libmk4.a
+- $(CXX) -o $@ $(CXX_SWITCHES) -shared $(SPYOBJS) $(SHLOBJS)
++ $(CXX) -o $@ $(CXX_SWITCHES) -shared $(SPYOBJS) $(SHLOBJS) -lgcc_r
+
+ demo: ../demos/demo.cpp libmk4.a
+ $(LIBTOOL) --mode=link $(CXX) $(CXX_SWITCHES) -o $@ \
diff --git a/databases/metakit/files/patch-ac b/databases/metakit/files/patch-ac
new file mode 100644
index 000000000000..deba454c7823
--- /dev/null
+++ b/databases/metakit/files/patch-ac
@@ -0,0 +1,15 @@
+--- ../tcl/mk4tcl.cpp.orig Fri Jul 28 19:40:17 2000
++++ ../tcl/mk4tcl.cpp Fri Jul 28 19:40:21 2000
+@@ -565,10 +565,12 @@
+ #include <fcntl.h>
+ #include <errno.h>
+
++#if !defined(__FreeBSD__)
+ #define LOCK_SH 1 /* Shared lock. */
+ #define LOCK_EX 2 /* Exclusive lock. */
+ #define LOCK_UN 8 /* Unlock. */
+ #define LOCK_NB 4 /* Don't block when locking. */
++#endif
+
+ static int my_flock(int fd, int type)
+ {
diff --git a/databases/metakit/files/patch-ad b/databases/metakit/files/patch-ad
new file mode 100644
index 000000000000..dd9e4cf50b44
--- /dev/null
+++ b/databases/metakit/files/patch-ad
@@ -0,0 +1,19 @@
+--- ../unix/configure.orig Fri Mar 17 17:57:30 2000
++++ ../unix/configure Sat Jul 29 16:00:40 2000
+@@ -652,7 +652,6 @@
+ if test x"${ac_cv_c_tclconfig}" = x ; then
+ TCL_BIN_DIR="# no Tcl configs found"
+ echo "configure: warning: Can't find Tcl configuration definitions" 1>&2
+- exit 0
+ else
+ TCL_BIN_DIR=${ac_cv_c_tclconfig}
+ echo "$ac_t""found $TCL_BIN_DIR/tclConfig.sh" 1>&6
+@@ -2308,7 +2308,7 @@
+ LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
+ DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
+ ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
+-$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
++$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
+ || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
+
+ # Reload cache, that may have been modified by ltconfig