pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_rolling-replace Add example showing how t...
details: https://anonhg.NetBSD.org/pkgsrc/rev/61a1dd6cc697
branches: trunk
changeset: 543202:61a1dd6cc697
user: gdt <gdt%pkgsrc.org@localhost>
date: Sun Jun 08 17:29:01 2008 +0000
description:
Add example showing how to mark all packages depdending on X11 for
rebuild, useful for moving to X11_TYPE=modular. From tnn@.
diffstat:
pkgtools/pkg_rolling-replace/Makefile | 3 ++-
pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.8 | 9 ++++++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diffs (35 lines):
diff -r 98ce91f29295 -r 61a1dd6cc697 pkgtools/pkg_rolling-replace/Makefile
--- a/pkgtools/pkg_rolling-replace/Makefile Sun Jun 08 16:29:50 2008 +0000
+++ b/pkgtools/pkg_rolling-replace/Makefile Sun Jun 08 17:29:01 2008 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.19 2008/05/02 19:04:03 apb Exp $
+# $NetBSD: Makefile,v 1.20 2008/06/08 17:29:01 gdt Exp $
DISTNAME= pkg_rolling-replace-0.16
+PKGREVISION= 1
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
diff -r 98ce91f29295 -r 61a1dd6cc697 pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.8
--- a/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.8 Sun Jun 08 16:29:50 2008 +0000
+++ b/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.8 Sun Jun 08 17:29:01 2008 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pkg_rolling-replace.8,v 1.12 2008/05/22 13:48:36 tnn Exp $
+.\" $NetBSD: pkg_rolling-replace.8,v 1.13 2008/06/08 17:29:01 gdt Exp $
.Dd May 22, 2008
.Dt PKG_ROLLING-REPLACE 8
.Os
@@ -130,6 +130,13 @@
pkg_admin set rebuild=YES gtk2+
pkg_rolling-replace -rsv -X openoffice2
.Ed
+.Pp
+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 && grep "blddep x11-links" */* | cut -d/ -f1 | \\
+sort -u | xargs pkg_admin set rebuild=YES
+.Ed
.Sh ENVIRONMENT
.Nm
uses the following environment variables.
Home |
Main Index |
Thread Index |
Old Index