summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
diff options
context:
space:
mode:
authorschmonz <schmonz>2002-12-24 07:46:09 +0000
committerschmonz <schmonz>2002-12-24 07:46:09 +0000
commita00a2fa302c384b732d56321b76efec75ef7723f (patch)
treec66073fb740677de9221ad700392c6f055109f7e /pkgtools/pkg_install
parent354a1d787ffd296a9c177eafd36b67146b3921e9 (diff)
downloadpkgsrc-a00a2fa302c384b732d56321b76efec75ef7723f.tar.gz
pkg_install uses Berkeley DB. USE_BUILDLINK2, USE_DB185, and include
databases/db/buildlink2.mk. On platforms that lack Berkeley DB, pkg_install will build and install from bootstrap-pkgsrc, but will be missing some important functionality. On such systems, once bootstrapped, install this package to get full functionality. (We'll take care of this automatically in the future.) Platforms that are reported to lack Berkeley DB in the base system: Solaris, some Linuxes. There are probably others. Suggested by "Jeremy C. Reed" <reed@reedmedia.net> on tech-pkg@.
Diffstat (limited to 'pkgtools/pkg_install')
-rw-r--r--pkgtools/pkg_install/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile
index c9b64c87c5a..fa4a3c66226 100644
--- a/pkgtools/pkg_install/Makefile
+++ b/pkgtools/pkg_install/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63 2002/12/22 09:12:11 salo Exp $
+# $NetBSD: Makefile,v 1.64 2002/12/24 07:46:09 schmonz Exp $
# Notes to package maintainers:
#
@@ -17,7 +17,9 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.netbsd.org/
COMMENT= NetBSD-current's pkg_* tools
-USE_BUILDLINK2= no
+USE_BUILDLINK2= # defined
+
+USE_DB185= # defined
GNU_CONFIGURE= # defined
CONFIGURE_ARGS+= --with-pkgdbdir=${PKG_DBDIR}
@@ -51,4 +53,5 @@ post-install:
${PKG_ADMIN} rebuild ; \
fi
+.include "../../databases/db/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"