--- Jamsettings.orig	Mon Mar 10 14:44:59 2014
+++ Jamsettings	Thu Apr 20 02:13:56 2017
@@ -28,7 +28,7 @@ MANDIR = $(PREFIX)/man ;
 
 # Supporting files
 #
-LIBDIR = $(PREFIX)/lib ;
+LIBDIR = $(PREFIX)/libexec/archiveopteryx ;
 
 # The startup/shutdown script's directory
 #
@@ -36,24 +36,24 @@ INITDIR = $(LIBDIR) ;
 
 # Where to write pid files for the servers
 #
-PIDFILEDIR ?= $(PREFIX)/lib/pidfiles ;
+PIDFILEDIR ?= /var/run ;
 
 # The servers chroot to an empty, unreadable jail directory at
 # startup.
 #
-JAILDIR = $(PREFIX)/jail ;
+JAILDIR = /var/archiveopteryx/jail ;
 
 # This is the default message-copy-directory.
 #
-MESSAGEDIR = $(JAILDIR)/messages ;
+MESSAGEDIR = /var/archiveopteryx/messages ;
 
 # The directory where the configuration file is located.
 #
-CONFIGDIR = $(PREFIX) ;
+CONFIGDIR = ${SYSCONFDIR} ;
 
 # The directory where the README and other files are installed.
 #
-READMEDIR = $(PREFIX) ;
+READMEDIR = $(PREFIX)/share/doc/archiveopteryx ;
 
 # The log file's default name. (This can be a file name or syslog/x,
 # where x is a facility.)
@@ -71,8 +71,8 @@ AOXGROUP ?= aox ;
 
 # How to compile
 
-C++FLAGS = -g -Werror -funsigned-char ;
-LINKFLAGS = -g ;
+C++FLAGS = -I. -I.. -g -funsigned-char ;
+LINKFLAGS = -lcrypto -g ;
 
 # Mode for installed binaries
 
