mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
0e6618d59d
PLIST, and honor PREFIX.
26 lines
682 B
Plaintext
26 lines
682 B
Plaintext
--- src/msql/config.c.orig Fri May 29 19:21:56 1998
|
|
+++ src/msql/config.c Fri Aug 28 17:14:21 1998
|
|
@@ -306,11 +306,11 @@
|
|
msqlConfigLoaded = 1;
|
|
if (file)
|
|
{
|
|
- snprintf(buf,sizeof(buf),"%s/%s", INST_DIR, file);
|
|
+ snprintf(buf,sizeof(buf),"%s/etc/msql2/%s", INST_DIR, file);
|
|
fp = fopen(buf,"r");
|
|
if (!fp)
|
|
{
|
|
- snprintf(buf,sizeof(buf),"%s/%s.conf",INST_DIR,file);
|
|
+ snprintf(buf,sizeof(buf),"%s/etc/msql2/%s.conf",INST_DIR,file);
|
|
fp = fopen(buf,"r");
|
|
}
|
|
if (!fp)
|
|
@@ -325,7 +325,7 @@
|
|
}
|
|
else
|
|
{
|
|
- snprintf(buf,sizeof(buf),"%s/msql.conf", INST_DIR);
|
|
+ snprintf(buf,sizeof(buf),"%s/etc/msql2/msql.conf", INST_DIR);
|
|
fp = fopen(buf,"r");
|
|
}
|
|
if (!fp)
|