Ooops... install include as db2.h to differentiate it from the system

db.h.  As long as the header is changed rename the lib to libdb2.a
This commit is contained in:
marc 1999-06-18 04:06:16 +00:00
parent a6b42bb8e5
commit 8502fb5c30
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.8 1999/06/18 03:31:35 marc Exp $ # $OpenBSD: Makefile,v 1.9 1999/06/18 04:06:16 marc Exp $
DISTNAME= db-2.7.5 DISTNAME= db-2.7.5
CATEGORIES= databases CATEGORIES= databases
@ -36,6 +36,8 @@ do-fetch:
fi fi
post-install: post-install:
@mv ${PREFIX}/include/db.h ${PREFIX}/include/db2.h
@mv ${PREFIX}/lib/libdb.a ${PREFIX}/lib/libdb2.a
@${MKDIR} ${PREFIX}/share/examples/db @${MKDIR} ${PREFIX}/share/examples/db
@echo Installing samples: ${PREFIX}/share/examples/db ... @echo Installing samples: ${PREFIX}/share/examples/db ...
.for example in ${EXAMPLES} .for example in ${EXAMPLES}

View File

@ -7,9 +7,9 @@ bin/db_deadlock
bin/db_checkpoint bin/db_checkpoint
bin/db_archive bin/db_archive
bin/db_stat bin/db_stat
lib/libdb.a lib/libdb2.a
include/db_185.h include/db_185.h
include/db.h include/db2.h
include/db_cxx.h include/db_cxx.h
share/doc/db/api_c/DbTxn/abort.html share/doc/db/api_c/DbTxn/abort.html
share/doc/db/api_c/DbTxn/commit.html share/doc/db/api_c/DbTxn/commit.html