diff options
Diffstat (limited to 'databases/db3/files/patch-dist::Makefile.in')
-rw-r--r-- | databases/db3/files/patch-dist::Makefile.in | 145 |
1 files changed, 145 insertions, 0 deletions
diff --git a/databases/db3/files/patch-dist::Makefile.in b/databases/db3/files/patch-dist::Makefile.in new file mode 100644 index 000000000000..5e0f454ea8c0 --- /dev/null +++ b/databases/db3/files/patch-dist::Makefile.in @@ -0,0 +1,145 @@ +--- ../dist/Makefile.in.orig Fri Dec 1 02:07:33 2000 ++++ ../dist/Makefile.in Tue Dec 25 13:10:15 2001 +@@ -33,12 +33,12 @@ + + libdb= libdb.a + +-libso_base= libdb +-libso_linkname= $(libso_base)-$(SOVERSION).la +-libso= $(libso_base)-$(SOVERSION).@SOSUFFIX@ +-libso_target= $(libso_base)-$(SOVERSION).la ++libso_base= libdb$(SOMAJOR) ++libso_linkname= $(libso_base).la ++libso= $(libso_base).@SOSUFFIX@ ++libso_target= $(libso_base).la + libso_default= $(libso_base).@SOSUFFIX@ +-libso_major= $(libso_base)-$(SOMAJOR).@SOSUFFIX@ ++libso_major= $(libso_base).@SOSUFFIX@.2 + + ################################################## + # C++ +@@ -47,12 +47,12 @@ + # You must configure it using: + # --enable-cxx + ################################################## +-libcxx= libdb_cxx.a +-libxso_base= libdb_cxx +-libxso= $(libxso_base)-$(SOVERSION).@SOSUFFIX@ +-libxso_target= $(libxso_base)-$(SOVERSION).la ++libcxx= libdb3_cxx.a ++libxso_base= libdb3_cxx ++libxso= $(libxso_base).@SOSUFFIX@ ++libxso_target= $(libxso_base).la + libxso_default= $(libxso_base).@SOSUFFIX@ +-libxso_major= $(libxso_base)-$(SOMAJOR).@SOSUFFIX@ ++libxso_major= $(libxso_base).@SOSUFFIX@.2 + + ################################################## + # JAVA +@@ -115,7 +115,7 @@ + bindir= @bindir@ + includedir=@includedir@ + libdir= @libdir@ +-docdir= $(prefix)/docs ++docdir= $(prefix)/share/doc/db3 + + dmode= 755 + emode= 555 +@@ -192,8 +192,8 @@ + db_dump@o@ db_load@o@ db_printlog@o@ db_recover@o@ db_stat@o@ \ + db_upgrade@o@ db_verify@o@ util_log@o@ util_sig@o@ + +-PROGS= @ADDITIONAL_PROGS@ db_archive db_checkpoint db_deadlock \ +- db_dump db_load db_printlog db_recover db_stat db_upgrade db_verify ++PROGS= @ADDITIONAL_PROGS@ db3_archive db3_checkpoint db3_deadlock \ ++ db3_dump db3_load db3_printlog db3_recover db3_stat db3_upgrade db3_verify + + JAVA_DBSRCS=\ + $(JAVA_DBDIR)/Db.java $(JAVA_DBDIR)/DbAppendRecno.java \ +@@ -279,53 +279,53 @@ + $(CCLINK) -o $@ $(LDFLAGS) $(RPC_SRV) util_log@o@ $(LIBDB_ARGS) $(LIBS) + $(POSTLINK) $@ + +-db_archive: db_archive@o@ util_sig@o@ @DEFAULT_LIB@ ++db3_archive: db_archive@o@ util_sig@o@ @DEFAULT_LIB@ + $(CCLINK) -o $@ $(LDFLAGS) \ + db_archive@o@ util_sig@o@ $(LIBDB_ARGS) $(LIBS) + $(POSTLINK) $@ + +-db_checkpoint: db_checkpoint@o@ util_log@o@ util_sig@o@ @DEFAULT_LIB@ ++db3_checkpoint: db_checkpoint@o@ util_log@o@ util_sig@o@ @DEFAULT_LIB@ + $(CCLINK) -o $@ $(LDFLAGS) \ + db_checkpoint@o@ util_log@o@ util_sig@o@ $(LIBDB_ARGS) $(LIBS) + $(POSTLINK) $@ + +-db_deadlock: db_deadlock@o@ util_log@o@ util_sig@o@ @DEFAULT_LIB@ ++db3_deadlock: db_deadlock@o@ util_log@o@ util_sig@o@ @DEFAULT_LIB@ + $(CCLINK) -o $@ $(LDFLAGS) \ + db_deadlock@o@ util_log@o@ util_sig@o@ $(LIBDB_ARGS) $(LIBS) + $(POSTLINK) $@ + +-db_dump: db_dump@o@ util_sig@o@ @DEFAULT_LIB@ ++db3_dump: db_dump@o@ util_sig@o@ @DEFAULT_LIB@ + $(CCLINK) -o $@ $(LDFLAGS) db_dump@o@ util_sig@o@ $(LIBDB_ARGS) $(LIBS) + $(POSTLINK) $@ + +-db_dump185: db_dump185@o@ @LIBOBJS@ ++db3_dump185: db_dump185@o@ @LIBOBJS@ + $(CCLINK) -o $@ $(LDFLAGS) db_dump185@o@ @LIBOBJS@ $(DB185LIB) + $(POSTLINK) $@ + +-db_load: db_load@o@ util_sig@o@ @DEFAULT_LIB@ ++db3_load: db_load@o@ util_sig@o@ @DEFAULT_LIB@ + $(CCLINK) -o $@ $(LDFLAGS) db_load@o@ util_sig@o@ $(LIBDB_ARGS) $(LIBS) + $(POSTLINK) $@ + +-db_printlog: db_printlog@o@ util_sig@o@ @DEFAULT_LIB@ ++db3_printlog: db_printlog@o@ util_sig@o@ @DEFAULT_LIB@ + $(CCLINK) -o $@ $(LDFLAGS) \ + db_printlog@o@ util_sig@o@ $(LIBDB_ARGS) $(LIBS) + $(POSTLINK) $@ + +-db_recover: db_recover@o@ util_sig@o@ @DEFAULT_LIB@ ++db3_recover: db_recover@o@ util_sig@o@ @DEFAULT_LIB@ + $(CCLINK) -o $@ $(LDFLAGS) \ + db_recover@o@ util_sig@o@ $(LIBDB_ARGS) $(LIBS) + $(POSTLINK) $@ + +-db_stat: db_stat@o@ util_sig@o@ @DEFAULT_LIB@ ++db3_stat: db_stat@o@ util_sig@o@ @DEFAULT_LIB@ + $(CCLINK) -o $@ $(LDFLAGS) db_stat@o@ util_sig@o@ $(LIBDB_ARGS) $(LIBS) + $(POSTLINK) $@ + +-db_upgrade: db_upgrade@o@ util_sig@o@ @DEFAULT_LIB@ ++db3_upgrade: db_upgrade@o@ util_sig@o@ @DEFAULT_LIB@ + $(CCLINK) -o $@ $(LDFLAGS) \ + db_upgrade@o@ util_sig@o@ $(LIBDB_ARGS) $(LIBS) + $(POSTLINK) $@ + +-db_verify: db_verify@o@ util_sig@o@ @DEFAULT_LIB@ ++db3_verify: db_verify@o@ util_sig@o@ @DEFAULT_LIB@ + $(CCLINK) -o $@ $(LDFLAGS) \ + db_verify@o@ util_sig@o@ $(LIBDB_ARGS) $(LIBS) + $(POSTLINK) $@ +@@ -452,8 +452,8 @@ + @cd $(libdir) && $(rm) -f \ + $(libso_target) $(libso) $(libso_default) $(libso_major) + @$(INSTALLER) $(libso_target) $(libdir) +- @cd $(libdir) && $(ln) -s $(libso) $(libso_default) +- @cd $(libdir) && $(ln) -s $(libso) $(libso_major) ++ @cd $(libdir) && $(chmod) $(fmode) $(libso_major) ++# @cd $(libdir) && $(ln) -s $(libso_major) $(libso_default) + @$(LIBTOOL) --mode=finish $(libdir) + + install_dynamic_cxx: +@@ -463,8 +463,8 @@ + @cd $(libdir) && $(rm) -f \ + $(libxso_target) $(libxso) $(libxso_default) $(libxso_major) + @$(INSTALLER) $(libxso_target) $(libdir) +- @cd $(libdir) && $(ln) -s $(libxso) $(libxso_default) +- @cd $(libdir) && $(ln) -s $(libxso) $(libxso_major) ++ @cd $(libdir) && $(chmod) $(fmode) $(libxso_major) ++# @cd $(libdir) && $(ln) -s $(libxso_major) $(libxso_default) + + install_tcl: + @echo "Installing DB Tcl library: $(libdir) ..." |