pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/doc/guide/files Delete reference to EVAL_PREFIX, it wa...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4b46d1926c9c
branches: trunk
changeset: 362826:4b46d1926c9c
user: leot <leot%pkgsrc.org@localhost>
date: Fri May 26 17:59:37 2017 +0000
description:
Delete reference to EVAL_PREFIX, it was removed in November 2015.
Pointed out by <prlw1> and <jperkin> in pkgsrc-users@
diffstat:
doc/guide/files/build.xml | 37 +------------------------------------
1 files changed, 1 insertions(+), 36 deletions(-)
diffs (51 lines):
diff -r dcec46860bce -r 4b46d1926c9c doc/guide/files/build.xml
--- a/doc/guide/files/build.xml Fri May 26 17:40:44 2017 +0000
+++ b/doc/guide/files/build.xml Fri May 26 17:59:37 2017 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index