pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools Add xauth as tool.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/531d45da12da
branches:  trunk
changeset: 529127:531d45da12da
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri May 25 15:12:52 2007 +0000

description:
Add xauth as tool.

diffstat:

 mk/tools/replace.mk |  15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r 07de3031f492 -r 531d45da12da mk/tools/replace.mk
--- a/mk/tools/replace.mk       Fri May 25 14:21:32 2007 +0000
+++ b/mk/tools/replace.mk       Fri May 25 15:12:52 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.186 2007/03/05 23:35:59 rillig Exp $
+# $NetBSD: replace.mk,v 1.187 2007/05/25 15:12:52 joerg Exp $
 #
 # Copyright (c) 2005 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -1030,6 +1030,17 @@
 .  endif
 .endif
 
+.if !defined(TOOLS_IGNORE.xauth) && !empty(_USE_TOOLS:Mxauth)
+.  if !empty(PKGPATH:Mx11/xauth)
+MAKEFLAGS+=            TOOLS_IGNORE.xauth=
+.  else
+TOOLS_DEPENDS.xauth?=          xauth-[0-9]*:../../x11/xauth
+TOOLS_FIND_PREFIX+=            TOOLS_PREFIX.xauth=xauth
+TOOLS_PATH.xauth=              ${TOOLS_PREFIX.xauth}/bin/xauth
+TOOLS_CREATE.xauth=            xauth
+.   endif
+.endif
+
 .if !defined(TOOLS_IGNORE.xinit) && !empty(_USE_TOOLS:Mxinit)
 .  if !empty(PKGPATH:Mx11/xinit)
 MAKEFLAGS+=            TOOLS_IGNORE.xinit=
@@ -1058,7 +1069,7 @@
 # native tool available.
 #
 .if ${X11_TYPE} != "modular"
-_TOOLS.x11-clients=    bdftopcf iceauth mkfontdir mkfontscale xinit xmessage
+_TOOLS.x11-clients=    bdftopcf iceauth mkfontdir mkfontscale xauth xinit xmessage
 
 .for _t_ in ${_TOOLS.x11-clients}
 .  if !defined(TOOLS_IGNORE.${_t_}) && !empty(_USE_TOOLS:M${_t_})



Home | Main Index | Thread Index | Old Index