pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Various improvements for previous.
details: https://anonhg.NetBSD.org/pkgsrc/rev/b3969a963087
branches: trunk
changeset: 477539:b3969a963087
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Jul 04 17:41:58 2004 +0000
description:
Various improvements for previous.
diffstat:
Packages.txt | 32 ++++++++++++++++----------------
1 files changed, 16 insertions(+), 16 deletions(-)
diffs (68 lines):
diff -r 8a193305dcbd -r b3969a963087 Packages.txt
--- a/Packages.txt Sun Jul 04 17:35:41 2004 +0000
+++ b/Packages.txt Sun Jul 04 17:41:58 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Packages.txt,v 1.339 2004/07/04 17:35:41 jmmv Exp $
+# $NetBSD: Packages.txt,v 1.340 2004/07/04 17:41:58 wiz Exp $
###########################################################################
==========================
@@ -2878,23 +2878,23 @@
================================================
A "shared directory" is a directory where multiple (and unrelated)
-packages install files. These directories are problematic because you
-have to add special tricks in the PLIST to conditionally remove them,
-or have some centralized package handle them.
-
-Within pkgsrc, you'll find both approaches mixed. If a directory is shared
-by few unrelated packages, it's often not worth to add an extra package to
-remove it. Therefore, one simply does:
-
- @unexec ${RMDIR} %D/path/to/shared/package 2>/dev/null || ${TRUE}
-
-in the PLISTs of all packages affected, instead of the regular "@dirrm" line.
+packages install files. These directories are problematic because
+you have to add special tricks in the PLIST to conditionally remove
+them, or have some centralized package handle them.
+
+Within pkgsrc, you'll find both approaches. If a directory is
+shared by a few unrelated packages, it's often not worth to add an
+extra package to remove it. Therefore, one simply does:
+
+ @unexec ${RMDIR} %D/path/to/shared/directory 2>/dev/null || ${TRUE}
+
+in the PLISTs of all affected packages, instead of the regular "@dirrm" line.
However, if the directory is shared across many packages, two different
solutions are available:
1) If the packages have a common dependency, the directory can be removed
- from it. For example, see textproc/scrollkeeper, which removes the
+ in that. For example, see textproc/scrollkeeper, which removes the
shared directory share/omf.
2) If the packages using the directory are not related at all (they have no
@@ -2915,19 +2915,19 @@
USE_DIRS+= xdg-1.1
-After regenerating the PLIST, using 'make print-PLIST', you should get the
+After regenerating the PLIST using 'make print-PLIST', you should get the
right (commented out) lines.
Note that, even if your package is using X11BASE, it must not depend on
the *-x11-dirs packages. Just specify the name without that part and pkgsrc
-(specially, mk/dirs.mk) will take care of it.
+(in particular, mk/dirs.mk) will take care of it.
10.46 How can I tweak 'make print-PLIST' output?
================================================
If you have used any of the *-dirs packages, as explained in 10.45, you
-may have noticed that 'make print-PLIST' outputs a set of @comment's,
+may have noticed that 'make print-PLIST' outputs a set of @comment's
instead of real @dirrm lines. You can also do this for specific directories
and files, so that the results of that command are very close to reality.
This helps _a lot_ during the update of packages.
Home |
Main Index |
Thread Index |
Old Index