openbsd-ports/databases/sqsh/patches/patch-src_Makefile_in
sturm ca4bae8577 - don't hardcode /etc, use SYSCONFDIR instead
- don't change SYSCONFDIR, use CONFDIR/SUBST_VARS instead and if neccessary
  use "CONFIGURE_STYLE=gnu old" and explicitly set --sysconfdir=${CONFDIR}
a few more to come...
2003-05-12 18:02:44 +00:00

13 lines
483 B
Plaintext

$OpenBSD: patch-src_Makefile_in,v 1.2 2003/05/12 18:02:44 sturm Exp $
--- src/Makefile.in.orig Sun Dec 23 16:52:30 2001
+++ src/Makefile.in Sun Dec 23 16:53:03 2001
@@ -7,7 +7,7 @@
# common directory. If you don't want a global sqshrc just comment
# out SQSHRC_GLOBAL, below.
-SQSHRC_GLOBAL = @prefix@/etc/sqshrc
+SQSHRC_GLOBAL = %%SYSCONFDIR%%/sqshrc
SQSHRC_PATH = "$(SQSHRC_GLOBAL):$${HOME}/.sqshrc"
# The following variables are configurable by the user. Typically