summaryrefslogtreecommitdiff
path: root/mail/majordomo/patches/patch-ad
blob: 604a0e5db983e59edd9bb3fdffe97d0d2dd2b522 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ad,v 1.1.1.1 1999/06/08 17:51:26 bad Exp $

--- ./config-test.orig	Wed Aug 27 09:17:13 1997
+++ ./config-test	Tue Jun  8 10:55:12 1999
@@ -126,4 +126,5 @@
 }
 
+unshift(@INC, $bindir);
 foreach (@requires) {
     if (require $_) {
@@ -287,5 +288,5 @@
 
 open($cf, $cf) || &bad("Couldn't open $cf for reading, $!");
-open(S, 'sample.cf') || &bad("Couldn't open sample.cf for reading, $!");
+open(S, "$bindir/sample.cf") || &bad("Couldn't open $bindir/sample.cf for reading, $!");
 
 while (<S>) {