pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/pkgformat/pkg



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Dec  3 10:04:48 UTC 2020

Modified Files:
        pkgsrc/mk/pkgformat/pkg: pkgformat-vars.mk

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/mk/pkgformat/pkg/pkgformat-vars.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/pkgformat/pkg/pkgformat-vars.mk
diff -u pkgsrc/mk/pkgformat/pkg/pkgformat-vars.mk:1.9 pkgsrc/mk/pkgformat/pkg/pkgformat-vars.mk:1.10
--- pkgsrc/mk/pkgformat/pkg/pkgformat-vars.mk:1.9       Wed Dec  2 10:22:39 2020
+++ pkgsrc/mk/pkgformat/pkg/pkgformat-vars.mk   Thu Dec  3 10:04:48 2020
@@ -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 @@ USE_TOOLS+=   date
 .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