blob: 72761ef929000c6f16fd69d7654743e3e4dcc460 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-src_Makefile.in,v 1.1 2022/05/18 11:20:35 adam Exp $
PGPOOL_CONFIG_DIR is where pgpool_setup copies sample config files from.
--- src/Makefile.in.orig 2022-05-18 10:42:40.000000000 +0000
+++ src/Makefile.in
@@ -1205,7 +1205,7 @@ uninstall-am: uninstall-binPROGRAMS unin
%: %.in
sed -e 's#[@][@]PGPOOL_INSTALL_DIR[@][@]#$(prefix)#g' \
- -e 's#[@][@]PGPOOL_CONFIG_DIR[@][@]#$(sysconfdir)#g' \
+ -e 's#[@][@]PGPOOL_CONFIG_DIR[@][@]#$(prefix)/share/examples/pgpool2#g' \
-e 's#[@][@]PGSQL_BIN_DIR[@][@]#$(PGSQL_BIN_DIR)#g' \
-e 's#[@][@]PGSQL_LIB_DIR[@][@]#$(PGSQL_LIB_DIR)#g' $^ > $@
chmod +x $@
|