summaryrefslogtreecommitdiff
path: root/Packages.txt
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-09-17 19:04:21 +0000
committerjmmv <jmmv@pkgsrc.org>2003-09-17 19:04:21 +0000
commit51eba3e74c8e6fb70e6863592b23b63285e51dd4 (patch)
tree375759ab52f0eaa4e092120a08e8d9baa4176156 /Packages.txt
parentbc4883faff4ebe30e4c4e18768c81f07130090ce (diff)
downloadpkgsrc-51eba3e74c8e6fb70e6863592b23b63285e51dd4.tar.gz
Document USE_X11 and explain when X11 packages should be placed under LOCALBASE
and when under X11BASE. Closes PR pkg/21759.
Diffstat (limited to 'Packages.txt')
-rw-r--r--Packages.txt23
1 files changed, 17 insertions, 6 deletions
diff --git a/Packages.txt b/Packages.txt
index 7a365c7c56b..4076a62b6e7 100644
--- a/Packages.txt
+++ b/Packages.txt
@@ -1,4 +1,4 @@
-# $NetBSD: Packages.txt,v 1.307 2003/08/30 22:01:36 seb Exp $
+# $NetBSD: Packages.txt,v 1.308 2003/09/17 19:04:21 jmmv Exp $
###########################################################################
==========================
@@ -1267,11 +1267,22 @@ When choosing which of these variables to use, follow the following rules:
${X11BASE}.
* X11 based pkgs are special in that they may be installed in either
- X11BASE or LOCALBASE. To install X11 packages in LOCALBASE, simply
- install the xpkgwedge package (pkgsrc/pkgtools/xpkgwedge).
- If you need to find includes or libraries installed by a pkg that has
- USE_IMAKE or USE_X11BASE in its pkg Makefile, you need to use _both_
- ${X11BASE} and ${LOCALBASE}.
+ X11BASE or LOCALBASE.
+
+ Usually, X11 packages should be installed under LOCALBASE whenever
+ possible. Note that you will need to set USE_X11 in them to request
+ the presence of X11 and to get the right compilation flags.
+
+ Even though, there are some packages that cannot be installed under
+ LOCALBASE: those that come with app-defaults files. These packages are
+ special and they must be placed under X11BASE. To accomplish this,
+ set either USE_X11BASE or USE_IMAKE in your package.
+
+ Some notes: USE_X11 and USE_X11BASE are mutually exclusive. If you need
+ to find includes or libraries installed by a pkg that has USE_IMAKE or
+ USE_X11BASE in its pkg Makefile, you need to use _both_ ${X11BASE} and
+ ${LOCALBASE}. To install all X11 packages in LOCALBASE, simply install
+ the xpkgwedge package (pkgsrc/pkgtools/xpkgwedge).
* ${X11PREFIX} should be used to refer to the installed location of an X11
package. X11PREFIX will be set to ${X11BASE} if xpkgwedge is not installed,