diff options
author | agc <agc@pkgsrc.org> | 2001-03-29 11:20:57 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2001-03-29 11:20:57 +0000 |
commit | 90de2d008a4075a97ec5e38aba45f79f204f71e4 (patch) | |
tree | c44a634c09384388495065dff122947222a49102 /Packages.txt | |
parent | 05e398b79f4e345743ecd4601da9c4a0b523dffd (diff) | |
download | pkgsrc-90de2d008a4075a97ec5e38aba45f79f204f71e4.tar.gz |
Document the EVAL_PREFIX (and the related <dirname>_DEFAULT) definitions.
Diffstat (limited to 'Packages.txt')
-rw-r--r-- | Packages.txt | 24 |
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 ================ |