pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/pkgtools/pkg_rolling-replace
Module Name: pkgsrc
Committed By: triaxx
Date: Sun Mar 5 20:23:59 UTC 2023
Modified Files:
pkgsrc/pkgtools/pkg_rolling-replace: Makefile
pkgsrc/pkgtools/pkg_rolling-replace/files: pkg_rolling-replace.8
Log Message:
pkg_rolling-replace: Fix PKG_DBDIR in manpage
To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 pkgsrc/pkgtools/pkg_rolling-replace/Makefile
cvs rdiff -u -r1.22 -r1.23 \
pkgsrc/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/pkgtools/pkg_rolling-replace/Makefile
diff -u pkgsrc/pkgtools/pkg_rolling-replace/Makefile:1.50 pkgsrc/pkgtools/pkg_rolling-replace/Makefile:1.51
--- pkgsrc/pkgtools/pkg_rolling-replace/Makefile:1.50 Mon Jun 28 19:33:23 2021
+++ pkgsrc/pkgtools/pkg_rolling-replace/Makefile Sun Mar 5 20:23:58 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.50 2021/06/28 19:33:23 mcf Exp $
+# $NetBSD: Makefile,v 1.51 2023/03/05 20:23:58 triaxx Exp $
PKGNAME= pkg_rolling-replace-0.24.13
CATEGORIES= pkgtools
@@ -30,7 +30,7 @@ SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= pre-configure
SUBST_MESSAGE.prefix= Substituting PREFIX location.
SUBST_FILES.prefix= pkg_rolling-replace.8
-SUBST_VARS.prefix= PREFIX
+SUBST_VARS.prefix= PKG_DBDIR PREFIX
SUBST_CLASSES+= makeconf
SUBST_STAGE.makeconf= pre-configure
Index: pkgsrc/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.8
diff -u pkgsrc/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.8:1.22 pkgsrc/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.8:1.23
--- pkgsrc/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.8:1.22 Tue Apr 13 17:51:21 2021
+++ pkgsrc/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.8 Sun Mar 5 20:23:59 2023
@@ -1,4 +1,4 @@
-.\" $NetBSD: pkg_rolling-replace.8,v 1.22 2021/04/13 17:51:21 rhialto Exp $
+.\" $NetBSD: pkg_rolling-replace.8,v 1.23 2023/03/05 20:23:59 triaxx Exp $
.Dd February 1, 2010
.Dt PKG_ROLLING-REPLACE 8
.Os
@@ -179,7 +179,7 @@ appears to contain a pkgsrc tree, then t
.It Ev PKG_DBDIR
pkgsrc database directory.
If not set in environment then defaults to
-.Pa /var/db/pkg .
+.Pa @PKG_DBDIR@ .
.El
.Sh EXAMPLES
To update all packages on the system and ensure correct shared library
@@ -217,7 +217,7 @@ pkg_rolling-replace -krsv -L /var/log/pk
To mark all packages that compiled against X11 as needing rebuild
(used after switching to X11_TYPE=modular):
.Bd -literal -offset indent
-cd /var/db/pkg \*[Am]\*[Am] grep "blddep x11-links" */* | cut -d/ -f1 | \\
+cd @PKG_DBDIR@ \*[Am]\*[Am] grep "blddep x11-links" */* | cut -d/ -f1 | \\
sort -u | xargs pkg_admin set rebuild=YES
.Ed
.Pp
Home |
Main Index |
Thread Index |
Old Index