diff options
author | agc <agc@pkgsrc.org> | 2003-07-09 16:14:51 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2003-07-09 16:14:51 +0000 |
commit | 5e47309800ec178c33627a6abf3c83e62fae67fc (patch) | |
tree | 7b6914bd56be56fd17b0120d128e4a0443c83745 /Packages.txt | |
parent | 8338c82ca30dfda3adce83de7b740bf803f11dab (diff) | |
download | pkgsrc-5e47309800ec178c33627a6abf3c83e62fae67fc.tar.gz |
Document how to enable fixups on scripts in a package which have hardcoded
pathnames to interpreters.
Diffstat (limited to 'Packages.txt')
-rw-r--r-- | Packages.txt | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/Packages.txt b/Packages.txt index c2b5c92a88e..22d2dacacb8 100644 --- a/Packages.txt +++ b/Packages.txt @@ -1,4 +1,4 @@ -# $NetBSD: Packages.txt,v 1.299 2003/07/04 11:33:54 martti Exp $ +# $NetBSD: Packages.txt,v 1.300 2003/07/09 16:14:51 agc Exp $ ########################################################################### ========================== @@ -2509,6 +2509,20 @@ If your package contains interpreted perl scripts, set REPLACE_PERL to ensure that the proper interpreter path is set. REPLACE_PERL should contain a list of scripts, relative to WRKSRC, that you want adjusted. + 10.34 Packages with hardcoded paths to other interpreters + ========================================================= + +Your package may also contain scripts with hardcoded paths to other +interpreters besides (or as well as) perl. To correct the full +pathname to the script interpreter, you need to set the following +definitions in your Makefile (we shall use tclsh in this example): + +REPLACE_INTERPRETER+= tcl +_REPLACE.tcl.old= .*/bin/tclsh +_REPLACE.tcl.new= ${PREFIX}/bin/tclsh +_REPLACE_FILES.tcl= ...list of tcl scripts which need to be fixed + + 11 Submitting & Committing ========================== |