summaryrefslogtreecommitdiff
path: root/Packages.txt
diff options
context:
space:
mode:
authoragc <agc>2003-07-09 16:14:51 +0000
committeragc <agc>2003-07-09 16:14:51 +0000
commit662c3ef459d0ce40a5a9fefa9222086fa7b7b0af (patch)
tree7b6914bd56be56fd17b0120d128e4a0443c83745 /Packages.txt
parent76641c7dca1f2abd60389618fd208386ff85786d (diff)
downloadpkgsrc-662c3ef459d0ce40a5a9fefa9222086fa7b7b0af.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.txt16
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
==========================