pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/xmlcatmgr Use EVAL_PREFIX to determine where ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/db42213eefb6
branches:  trunk
changeset: 491621:db42213eefb6
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Sat Mar 26 16:54:51 2005 +0000

description:
Use EVAL_PREFIX to determine where xmlcatmgr is installed (instead of
BUILDLINK_PREFIX.xmlcatmgr), and set the XMLCATMGR variable accordingly.
This is to let packages setting NO_BUILD to still be able to use this
variable (such as docbook-xml).

Fixes PR pkg/29789 by chris@.

diffstat:

 textproc/xmlcatmgr/buildlink3.mk |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 9cb3357dcc64 -r db42213eefb6 textproc/xmlcatmgr/buildlink3.mk
--- a/textproc/xmlcatmgr/buildlink3.mk  Sat Mar 26 16:50:59 2005 +0000
+++ b/textproc/xmlcatmgr/buildlink3.mk  Sat Mar 26 16:54:51 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2004/10/09 23:16:14 reed Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2005/03/26 16:54:51 jmmv Exp $
 #
 # This Makefile fragment is included by packages that use xmlcatmgr.
 #
@@ -27,7 +27,9 @@
 BUILDLINK_PKGSRCDIR.xmlcatmgr?=                ../../textproc/xmlcatmgr
 
 # Location of the xmlcatmgr binary program.
-XMLCATMGR=     ${BUILDLINK_PREFIX.xmlcatmgr}/bin/xmlcatmgr
+EVAL_PREFIX+=                  XMLCATMGR_PREFIX=xmlcatmgr
+XMLCATMGR_PREFIX_DEFAULT=      ${LOCALBASE}
+XMLCATMGR=                     ${XMLCATMGR_PREFIX}/bin/xmlcatmgr
 
 # System-wide configurable catalogs.
 .if defined(PKG_SYSCONFDIR.xmlcatmgr) && !empty(PKG_SYSCONFDIR.xmlcatmgr)



Home | Main Index | Thread Index | Old Index