summaryrefslogtreecommitdiff
path: root/Packages.txt
diff options
context:
space:
mode:
authoragc <agc>2001-03-29 11:20:57 +0000
committeragc <agc>2001-03-29 11:20:57 +0000
commita65974464273f8e35a9352c9e20aa5c213d3f9f1 (patch)
treec44a634c09384388495065dff122947222a49102 /Packages.txt
parent62cdfb322a66194854105018623c3ee40d79d46e (diff)
downloadpkgsrc-a65974464273f8e35a9352c9e20aa5c213d3f9f1.tar.gz
Document the EVAL_PREFIX (and the related <dirname>_DEFAULT) definitions.
Diffstat (limited to 'Packages.txt')
-rw-r--r--Packages.txt24
1 files changed, 23 insertions, 1 deletions
diff --git a/Packages.txt b/Packages.txt
index 1c4f8e524b6..4aead84edee 100644
--- a/Packages.txt
+++ b/Packages.txt
@@ -1,4 +1,4 @@
-# $NetBSD: Packages.txt,v 1.147 2001/03/27 03:19:43 hubertf Exp $
+# $NetBSD: Packages.txt,v 1.148 2001/03/29 11:20:57 agc Exp $
###########################################################################
==========================
@@ -1080,6 +1080,28 @@ When choosing which of these variables to use, follow the following rules:
package. X11PREFIX will be set to ${X11BASE} if xpkgwedge is not installed,
and to ${LOCALBASE} if xpkgwedge is installed.
+ * If xpkgwedge is installed, it is possible to have some packages installed in
+ X11BASE and some in LOCALBASE. To determine the prefix of an installed
+ package, the EVAL_PREFIX definition can be used. It takes pairs in the
+ format DIRNAME=<package>, and the make(1) variable DIRNAME will be set
+ to the prefix of the installed package <package>, or ${X11PREFIX} if the
+ package is not installed.
+
+ This is best illustrated by example.
+
+ The following lines are taken from pkgsrc/wm/scwm/Makefile:
+
+ EVAL_PREFIX+= GTKDIR=gtk+
+ CONFIGURE_ARGS+= --with-guile-prefix=${LOCALBASE} \
+ --with-gtk-prefix="${GTKDIR}" \
+ --enable-multibyte
+
+ Specific defaults can be defined for the packages evaluated using
+ EVAL_PREFIX, by using a definition of the form:
+
+ GTKDIR_DEFAULT= ${LOCALBASE}
+
+ where "GTKDIR" corresponds to the first definition in the EVAL_PREFIX pair.
7.2 Main targets
================