diff options
author | leot <leot@pkgsrc.org> | 2017-05-26 17:59:37 +0000 |
---|---|---|
committer | leot <leot@pkgsrc.org> | 2017-05-26 17:59:37 +0000 |
commit | ea19d500a6f157ee98c9aa183b98a3b0246fa579 (patch) | |
tree | 894bfcd055aee00c8b651dabbed5b2fa2329c486 | |
parent | 5ffef92de0b3d131c72c0b60b2ce302b4369a3ac (diff) | |
download | pkgsrc-ea19d500a6f157ee98c9aa183b98a3b0246fa579.tar.gz |
Delete reference to EVAL_PREFIX, it was removed in November 2015.
Pointed out by <prlw1> and <jperkin> in pkgsrc-users@
-rw-r--r-- | doc/guide/files/build.xml | 37 |
1 files changed, 1 insertions, 36 deletions
diff --git a/doc/guide/files/build.xml b/doc/guide/files/build.xml index 820dfcc2ce2..2fec969c79c 100644 --- a/doc/guide/files/build.xml +++ b/doc/guide/files/build.xml @@ -1,4 +1,4 @@ -<!-- $NetBSD: build.xml,v 1.77 2016/03/29 11:32:58 tnn Exp $ --> +<!-- $NetBSD: build.xml,v 1.78 2017/05/26 17:59:37 leot Exp $ --> <chapter id="build"> <title>The build process</title> @@ -88,41 +88,6 @@ </listitem> <listitem> - <para>To determine the prefix of an - installed package, the <varname>EVAL_PREFIX</varname> - definition can be used. It takes pairs in the format - <quote>DIRNAME=<package></quote>, and the &man.make.1; - variable <varname>DIRNAME</varname> will be set to the prefix - of the installed package <package>, or - <quote>${PREFIX}</quote> if the package is not - installed.</para> - - <para>This is best illustrated by example.</para> - - <para>The following lines are taken from - <filename>pkgsrc/wm/scwm/Makefile</filename>:</para> - -<programlisting> -EVAL_PREFIX+= GTKDIR=gtk+ -CONFIGURE_ARGS+= --with-guile-prefix=${LOCALBASE:Q} -CONFIGURE_ARGS+= --with-gtk-prefix=${GTKDIR:Q} -CONFIGURE_ARGS+= --enable-multibyte -</programlisting> - - <para>Specific defaults can be defined for the packages - evaluated using <varname>EVAL_PREFIX</varname>, by using a - definition of the form:</para> - -<programlisting> -GTKDIR_DEFAULT= ${LOCALBASE} -</programlisting> - - <para>where <varname>GTKDIR</varname> corresponds - to the first definition in - the <varname>EVAL_PREFIX</varname> pair.</para> - </listitem> - - <listitem> <para>Within <filename>${PREFIX}</filename>, packages should install files according to &man.hier.7;, with the exception that manual pages go into <filename>${PREFIX}/man</filename>, not |