diff options
author | agc <agc> | 2002-01-05 16:20:54 +0000 |
---|---|---|
committer | agc <agc> | 2002-01-05 16:20:54 +0000 |
commit | cdbb87fc87f5c234941feabdf0889f56df7de887 (patch) | |
tree | 3bf68aecc04c010b5237b06b7202d2eb33e6c511 /security/tct/patches | |
parent | e0cdaa1843218fd60dddd7870b8fdc201e1fd6f8 (diff) | |
download | pkgsrc-cdbb87fc87f5c234941feabdf0889f56df7de887.tar.gz |
Rework this package so that it installs its executables into its own tct
hierarchy. Whilst this is not desirable, it's the only way to get this
package to execute properly, since it makes assumptions about absolute
and relative paths, and expects its own versions of certain commands (md5,
file), so it's best to keep these off to one side.
Diffstat (limited to 'security/tct/patches')
-rw-r--r-- | security/tct/patches/patch-ao | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/security/tct/patches/patch-ao b/security/tct/patches/patch-ao new file mode 100644 index 00000000000..7b4cbef50ae --- /dev/null +++ b/security/tct/patches/patch-ao @@ -0,0 +1,15 @@ +$NetBSD: patch-ao,v 1.1 2002/01/05 16:20:55 agc Exp $ + +Use root's home directory for TCT_HOME + +--- reconfig 2002/01/05 15:38:05 1.1 ++++ reconfig 2002/01/05 15:38:36 +@@ -167,7 +167,7 @@ + die "Can't open $file for reading\n" unless open(FILE, $file); + while (<FILE>) { + if (/^\s*\$TCT_HOME\s*=/ && !$done) { +- $file{$n++} = "\$TCT_HOME = \"$cwd\";\n"; ++ $file{$n++} = "\$TCT_HOME = \"$ENV{\"PREFIX\"}/tct\";\n"; + $done = 1; + next; + } |