1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/sysutils/doconfig/files/patch-aa
Jacques Vidrine dd744187ae Support PREFIX properly.
PR:		ports/21372
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
Hall of shame:	Me, for letting this trivial change lounge for 3 months
2000-12-02 17:03:17 +00:00

21 lines
539 B
Plaintext

--- doconfig.orig Tue Jul 28 02:35:51 1998
+++ doconfig Mon Aug 3 01:23:20 1998
@@ -8,7 +8,7 @@
$log = "$sys_base/$sys_conf/kernelbuild.log";
## we dont actually need anything here
-$ENV{PATH} = "/bin:/sbin:/usr/bin:/usr/sbin";
+$ENV{PATH} = "/bin:/sbin:/usr/bin:/usr/sbin:%%PREFIX%%/bin";
# basic verification stuff
if ($< || $>) {
@@ -44,7 +44,7 @@
}
$version = "1.1";
-$autokernconf = "/usr/sbin/autokernconf";
+$autokernconf = "%%PREFIX%%/sbin/autokernconf";
$autokernconf_args = "";
$autoinstall = 0;
$autoreboot = 0;