patch-Jamsettings 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. $OpenBSD: patch-Jamsettings,v 1.4 2017/04/20 00:16:06 jca Exp $
  2. --- Jamsettings.orig Mon Mar 10 14:44:59 2014
  3. +++ Jamsettings Thu Apr 20 02:13:56 2017
  4. @@ -28,7 +28,7 @@ MANDIR = $(PREFIX)/man ;
  5. # Supporting files
  6. #
  7. -LIBDIR = $(PREFIX)/lib ;
  8. +LIBDIR = $(PREFIX)/libexec/archiveopteryx ;
  9. # The startup/shutdown script's directory
  10. #
  11. @@ -36,24 +36,24 @@ INITDIR = $(LIBDIR) ;
  12. # Where to write pid files for the servers
  13. #
  14. -PIDFILEDIR ?= $(PREFIX)/lib/pidfiles ;
  15. +PIDFILEDIR ?= /var/run ;
  16. # The servers chroot to an empty, unreadable jail directory at
  17. # startup.
  18. #
  19. -JAILDIR = $(PREFIX)/jail ;
  20. +JAILDIR = /var/archiveopteryx/jail ;
  21. # This is the default message-copy-directory.
  22. #
  23. -MESSAGEDIR = $(JAILDIR)/messages ;
  24. +MESSAGEDIR = /var/archiveopteryx/messages ;
  25. # The directory where the configuration file is located.
  26. #
  27. -CONFIGDIR = $(PREFIX) ;
  28. +CONFIGDIR = ${SYSCONFDIR} ;
  29. # The directory where the README and other files are installed.
  30. #
  31. -READMEDIR = $(PREFIX) ;
  32. +READMEDIR = $(PREFIX)/share/doc/archiveopteryx ;
  33. # The log file's default name. (This can be a file name or syslog/x,
  34. # where x is a facility.)
  35. @@ -71,8 +71,8 @@ AOXGROUP ?= aox ;
  36. # How to compile
  37. -C++FLAGS = -g -Werror -funsigned-char ;
  38. -LINKFLAGS = -g ;
  39. +C++FLAGS = -I. -I.. -g -funsigned-char ;
  40. +LINKFLAGS = -lcrypto -g ;
  41. # Mode for installed binaries