diff options
author | gdt <gdt@pkgsrc.org> | 2008-06-08 17:29:01 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2008-06-08 17:29:01 +0000 |
commit | b1df4d999d7b00a8cc3e66419f5402031a213e73 (patch) | |
tree | 95af3cd3dcecfc085febbe6aa0799fc20fce5128 /pkgtools/pkg_rolling-replace | |
parent | e7b9e8b286512e3694a5d601e28bc77e883dc7d8 (diff) | |
download | pkgsrc-b1df4d999d7b00a8cc3e66419f5402031a213e73.tar.gz |
Add example showing how to mark all packages depdending on X11 for
rebuild, useful for moving to X11_TYPE=modular. From tnn@.
Diffstat (limited to 'pkgtools/pkg_rolling-replace')
-rw-r--r-- | pkgtools/pkg_rolling-replace/Makefile | 3 | ||||
-rw-r--r-- | pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.8 | 9 |
2 files changed, 10 insertions, 2 deletions
diff --git a/pkgtools/pkg_rolling-replace/Makefile b/pkgtools/pkg_rolling-replace/Makefile index 2366d15d2ae..4ed16cdfaf0 100644 --- a/pkgtools/pkg_rolling-replace/Makefile +++ b/pkgtools/pkg_rolling-replace/Makefile @@ -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 --git a/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.8 b/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.8 index ff3a55712c4..bc2b3e2407c 100644 --- a/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.8 +++ b/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.8 @@ -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 @@ To update gtk2+ and all packages that depend on it, except openoffice2: 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. |