$NetBSD: patch-aa,v 1.1.1.1 2000/02/07 16:20:19 agc Exp $

--- portsentry_config.h	1999/10/26 14:59:29	1.3
+++ portsentry_config.h	2000/02/07 15:08:57
@@ -31,10 +31,14 @@
 
 /* These are probably ok. Be sure you change the Makefile if you */
 /* change the path */
-#define CONFIG_FILE "/usr/local/psionic/portsentry/portsentry.conf"
+#define CONFIG_FILE "@PKG_SYSCONFDIR@/portsentry.conf"
 
 /* The location of Wietse Venema's TCP Wrapper hosts.deny file */
+#if defined(__svr4__) && defined(__sun__)
+#define WRAPPER_HOSTS_DENY "@PKG_SYSCONFDIR@/hosts.deny"
+#else
 #define WRAPPER_HOSTS_DENY "/etc/hosts.deny"
+#endif
 
 /* The default syslog is as daemon.notice. You can also use */
 /* any of the facilities from syslog.h to send messages to (LOCAL0, etc) */
