pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/pkgformat/pkg mk: use LOCALBASE instead of PREFIX



details:   https://anonhg.NetBSD.org/pkgsrc/rev/66718ebe6106
branches:  trunk
changeset: 442894:66718ebe6106
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Dec 03 10:04:48 2020 +0000

description:
mk: use LOCALBASE instead of PREFIX

I don't understand why this fixes problems, but it does fix the build
of mail/neomutt for me.

>From ryoon.

diffstat:

 mk/pkgformat/pkg/pkgformat-vars.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 43524ccce3d5 -r 66718ebe6106 mk/pkgformat/pkg/pkgformat-vars.mk
--- a/mk/pkgformat/pkg/pkgformat-vars.mk        Thu Dec 03 09:33:11 2020 +0000
+++ b/mk/pkgformat/pkg/pkgformat-vars.mk        Thu Dec 03 10:04:48 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: pkgformat-vars.mk,v 1.9 2020/12/02 10:22:39 wiz Exp $
+# $NetBSD: pkgformat-vars.mk,v 1.10 2020/12/03 10:04:48 wiz Exp $
 #
 # This Makefile fragment is included indirectly by bsd.prefs.mk and
 # defines some variables which must be defined earlier than where
@@ -16,7 +16,7 @@
 .endif
 
 # This is the package database directory for the default view.
-PKG_DBDIR?=            ${PREFIX}/pkgdb
+PKG_DBDIR?=            ${LOCALBASE}/pkgdb
 
 .if exists(/var/db/pkg) && !exists(${PKG_DBDIR})
 PKG_DBDIR_ERROR=       The default package database directory has changed. Please run: mv /var/db/pkg ${PKG_DBDIR}



Home | Main Index | Thread Index | Old Index