--- sophie-3.03/sophie.c.orig	2003-05-02 18:38:35.000000000 +0200
+++ sophie-3.03/sophie.c	2003-08-05 13:33:53.000000000 +0200
@@ -33,8 +33,7 @@
 volatile int PROC_COUNT = 0;
 
 char *default_configs[] = {
-	"/etc/sophie.cfg",
-	"/usr/local/etc/sophie.cfg",
+	"@l_prefix@/etc/sophie/sophie.cfg",
 	"./sophie.cfg",
 	NULL
 };
--- sophie-3.03/sophie_init.c.orig	2003-04-27 17:27:34.000000000 +0200
+++ sophie-3.03/sophie_init.c	2003-08-05 13:57:24.000000000 +0200
@@ -48,6 +48,9 @@
 				exit(EXIT_FAILURE);
 			}
 
+			hr = pSAVI->pVtbl->SetConfigValue(pSAVI, "IdeDir", SOPHOS_TYPE_STRING, "@l_prefix@/var/sophos-av/sav"); 
+			hr = pSAVI->pVtbl->SetConfigValue(pSAVI, "VirusDataDir", SOPHOS_TYPE_STRING, "@l_prefix@/var/sophos-av/sav"); 
+
 			sophie_set_engine_config(pSAVI);
 		}
 	}
--- sophie-3.03/Makefile.in.orig	2003-04-29 16:40:49.000000000 +0200
+++ sophie-3.03/Makefile.in	2003-08-05 14:06:20.000000000 +0200
@@ -11,7 +11,7 @@
 ${OBJS}: config.h
 
 sophie: ${OBJS}
-	${CC} ${CFLAGS} ${LDFLAGS} ${LIBS} ${OBJS} -o sophie
+	${CC} ${CFLAGS} ${LDFLAGS} ${OBJS} -o sophie ${LIBS}
 
 eicar.com:
 	@echo 'K5B!C%@NC[4\CMK54(C^)7PP)7}$$RVPNE-FGNAQNEQ-NAGVIVEHF-GRFG-SVYR!$$U+U*' | \
