f2e2c80c2e
o add tcl and c++ flavors o use PFRAG.<flavor> instead of PLIST-<flavor> o make proper .so.MAJOR.MINOR dynlibs with makefile and configure patches o fix reference to shared libraries in a few tcl test scripts o use a patch to makefile.in instead of a port makefile tweak to create libdb3.a instead of libdb-3.1.a o sync libtool patches o remove some sleepycat's marketing speech from DESCR o take over MAINTAINER o clarify license a bit lots of thanks to Nils Nordman <nino@nforced.com> and naddy@ for running the huge test set. (it takes days.) naddy@ ok
82 lines
2.9 KiB
Plaintext
82 lines
2.9 KiB
Plaintext
$OpenBSD: patch-dist_Makefile_in,v 1.3 2001/09/07 16:06:08 heko Exp $
|
|
--- dist/Makefile.in.orig Tue Jul 18 18:37:57 2000
|
|
+++ dist/Makefile.in Fri Aug 31 14:02:26 2001
|
|
@@ -34,11 +34,11 @@ SOVERSION= @DB_VERSION_MAJOR@.@DB_VERSIO
|
|
libdb= libdb.a
|
|
|
|
libso_base= libdb
|
|
-libso_linkname= $(libso_base)-$(SOVERSION).la
|
|
-libso= $(libso_base)-$(SOVERSION).@SOSUFFIX@
|
|
-libso_target= $(libso_base)-$(SOVERSION).la
|
|
+libso_linkname= $(libso_base).la
|
|
+libso= $(libso_base).@SOSUFFIX@.$(SOVERSION)
|
|
+libso_target= $(libso_base).la
|
|
libso_default= $(libso_base).@SOSUFFIX@
|
|
-libso_major= $(libso_base)-$(SOMAJOR).@SOSUFFIX@
|
|
+libso_major= $(libso_base).@SOSUFFIX@.$(SOMAJOR)
|
|
|
|
##################################################
|
|
# C++
|
|
@@ -49,10 +49,10 @@ libso_major= $(libso_base)-$(SOMAJOR).@S
|
|
##################################################
|
|
libcxx= libdb_cxx.a
|
|
libxso_base= libdb_cxx
|
|
-libxso= $(libxso_base)-$(SOVERSION).@SOSUFFIX@
|
|
-libxso_target= $(libxso_base)-$(SOVERSION).la
|
|
+libxso= $(libxso_base).@SOSUFFIX@.$(SOVERSION)
|
|
+libxso_target= $(libxso_base).la
|
|
libxso_default= $(libxso_base).@SOSUFFIX@
|
|
-libxso_major= $(libxso_base)-$(SOMAJOR).@SOSUFFIX@
|
|
+libxso_major= $(libxso_base).@SOSUFFIX@.$(SOMAJOR)
|
|
|
|
##################################################
|
|
# JAVA
|
|
@@ -71,11 +71,11 @@ JAVA_DBDIR= $(JAVA_SRCDIR)/com/sleepycat
|
|
JAVA_EXDIR= $(JAVA_SRCDIR)/com/sleepycat/examples
|
|
|
|
libjso_base= libdb_java
|
|
-libjso= $(libjso_base)-$(SOVERSION).@SOSUFFIX@
|
|
-libjso_target= $(libjso_base)-$(SOVERSION).la
|
|
+libjso= $(libjso_base).@SOSUFFIX@.$(SOVERSION)
|
|
+libjso_target= $(libjso_base).la
|
|
libjso_default= $(libjso_base).@SOSUFFIX@
|
|
-libjso_major= $(libjso_base)-$(SOMAJOR).@SOSUFFIX@
|
|
-libjso_g= $(libjso_base)-$(SOVERSION)_g.@SOSUFFIX@
|
|
+libjso_major= $(libjso_base).@SOSUFFIX@.$(SOVERSION)
|
|
+libjso_g= $(libjso_base)_g.@SOSUFFIX@.$(SOVERSION)
|
|
|
|
##################################################
|
|
# TCL
|
|
@@ -86,10 +86,10 @@ libjso_g= $(libjso_base)-$(SOVERSION)_g.
|
|
##################################################
|
|
TCFLAGS= @TCFLAGS@
|
|
libtso_base= libdb_tcl
|
|
-libtso= $(libtso_base)-$(SOVERSION).@SOSUFFIX@
|
|
-libtso_target= $(libtso_base)-$(SOVERSION).la
|
|
+libtso= $(libtso_base).@SOSUFFIX@.$(SOVERSION)
|
|
+libtso_target= $(libtso_base).la
|
|
libtso_default= $(libtso_base).@SOSUFFIX@
|
|
-libtso_major= $(libtso_base)-$(SOMAJOR).@SOSUFFIX@
|
|
+libtso_major= $(libtso_base).@SOSUFFIX@.$(SOMAJOR)
|
|
|
|
##################################################
|
|
# DB_DUMP185 UTILITY
|
|
@@ -112,8 +112,7 @@ exec_prefix=@exec_prefix@
|
|
bindir= @bindir@
|
|
includedir=@includedir@
|
|
libdir= @libdir@
|
|
-docdir= $(prefix)/docs
|
|
-
|
|
+docdir= $(prefix)/share/doc/db
|
|
dmode= 755
|
|
emode= 555
|
|
fmode= 444
|
|
@@ -426,7 +425,6 @@ install_dynamic: install_setup
|
|
@$(INSTALLER) $(libso_target) $(libdir)
|
|
@cd $(libdir) && $(ln) -s $(libso) $(libso_default)
|
|
@cd $(libdir) && $(ln) -s $(libso) $(libso_major)
|
|
- @$(LIBTOOL) --mode=finish $(libdir)
|
|
|
|
install_dynamic_cxx: install_setup
|
|
@echo "Installing DB C++ library: $(libdir) ..."
|