pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/wm/wmakerconf Avoid compiling the path to the "gzip" w...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4f5fe8f32c30
branches:  trunk
changeset: 496398:4f5fe8f32c30
user:      tron <tron%pkgsrc.org@localhost>
date:      Mon Jun 27 19:00:05 2005 +0000

description:
Avoid compiling the path to the "gzip" wrapper script into the binary.

diffstat:

 wm/wmakerconf/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 2fe04ad64ab3 -r 4f5fe8f32c30 wm/wmakerconf/Makefile
--- a/wm/wmakerconf/Makefile    Mon Jun 27 18:37:22 2005 +0000
+++ b/wm/wmakerconf/Makefile    Mon Jun 27 19:00:05 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2005/06/25 01:14:11 kristerw Exp $
+# $NetBSD: Makefile,v 1.29 2005/06/27 19:00:05 tron Exp $
 
 DISTNAME=      wmakerconf-2.11
 PKGREVISION=   1
@@ -12,7 +12,7 @@
 USE_PKGLOCALEDIR=      yes
 USE_X11BASE=           yes
 GNU_CONFIGURE=         yes
-USE_TOOLS+=            tar
+USE_TOOLS+=            gzip tar
 
 .if defined(PKG_SYSCONFDIR.windowmaker)
 CONFIGURE_ARGS+=       --with-wmakeretcprefix=${PKG_SYSCONFDIR.windowmaker}
@@ -20,7 +20,8 @@
 CONFIGURE_ARGS+=       --with-wmakeretcprefix=${PKG_SYSCONFDIR}/WindowMaker
 .endif
 
-CONFIGURE_ENV+=                tar="${TOOLS_TAR}"
+CONFIGURE_ENV+=                ac_cv_path_tar=${TOOLS_TAR:Q}
+CONFIGURE_ENV+=                ac_cv_path_gzip=${TOOLS_GZIP_CMD:C/ .*//W:Q}
 
 post-extract:
        ${MV} ${WRKSRC}/data/WMWmakerconf ${WRKSRC}/data/WMWmakerconf.in



Home | Main Index | Thread Index | Old Index