summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2002-12-24 07:46:09 +0000
committerschmonz <schmonz@pkgsrc.org>2002-12-24 07:46:09 +0000
commit687dc0aa1df8ef830ab64be68218c8933c505c92 (patch)
treec66073fb740677de9221ad700392c6f055109f7e /pkgtools
parente6bf73d6ce253af9ced01e9e3602b2af0b5a7332 (diff)
downloadpkgsrc-687dc0aa1df8ef830ab64be68218c8933c505c92.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')
-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"