pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/shells/zsh-current Fix embedded paths to /bin/env and ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0237bec1dda2
branches: trunk
changeset: 533800:0237bec1dda2
user: uebayasi <uebayasi%pkgsrc.org@localhost>
date: Mon Oct 01 04:16:07 2007 +0000
description:
Fix embedded paths to /bin/env and /usr/local/bin/zsh. Reported by joerg.
diffstat:
shells/zsh-current/Makefile | 25 ++++++++++++++++++++++++-
1 files changed, 24 insertions(+), 1 deletions(-)
diffs (36 lines):
diff -r 6c353f15517c -r 0237bec1dda2 shells/zsh-current/Makefile
--- a/shells/zsh-current/Makefile Mon Oct 01 03:21:03 2007 +0000
+++ b/shells/zsh-current/Makefile Mon Oct 01 04:16:07 2007 +0000
@@ -1,8 +1,31 @@
-# $NetBSD: Makefile,v 1.11 2007/09/21 05:24:43 uebayasi Exp $
+# $NetBSD: Makefile,v 1.12 2007/10/01 04:16:07 uebayasi Exp $
.include "../../shells/zsh/Makefile.common"
ZSH_VERSION= 4.3.4
ZSH_MAINTAINER= uebayasi%NetBSD.org@localhost
+USE_TOOLS+= env
+
+SUBST_CLASSES+= prefix-fixup
+SUBST_STAGE.prefix-fixup= pre-configure
+SUBST_FILES.prefix-fixup= \
+ Misc/globtests \
+ Misc/globtests.ksh \
+ Test/ztst.zsh \
+ Util/reporter \
+ Functions/Calendar/calendar_add \
+ Functions/Misc/run-help \
+ Functions/Misc/checkmail \
+ Functions/Misc/zcalc \
+ Functions/Misc/zkbd \
+ Functions/Example/cat
+SUBST_SED.prefix-fixup= \
+ -e 's|^\#\!/bin/env|\#\!${TOOLS_PATH.env}|g' \
+ -e 's|^\#\! /bin/env|\#\! ${TOOLS_PATH.env}|g' \
+ -e 's|^\#\!/bin/zsh|\#\!${PREFIX}/bin/zsh|g' \
+ -e 's|^\#\! /bin/zsh|\#\! ${PREFIX}/bin/zsh|g' \
+ -e 's|^\#\!/usr/local/bin/zsh|\#\!${PREFIX}/bin/zsh|g' \
+ -e 's|^\#\! /usr/local/bin/zsh|\#\! ${PREFIX}/bin/zsh|g'
+
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index