pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/repmgr repmgr: PLIST fix for PostgreSQL with...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c9cc34ad6a71
branches: trunk
changeset: 401289:c9cc34ad6a71
user: adam <adam%pkgsrc.org@localhost>
date: Sat Sep 14 16:31:26 2019 +0000
description:
repmgr: PLIST fix for PostgreSQL with/without LLVM
diffstat:
databases/repmgr/Makefile | 9 +++++++--
databases/repmgr/PLIST | 6 +++---
2 files changed, 10 insertions(+), 5 deletions(-)
diffs (44 lines):
diff -r 27aeda636722 -r c9cc34ad6a71 databases/repmgr/Makefile
--- a/databases/repmgr/Makefile Sat Sep 14 16:09:52 2019 +0000
+++ b/databases/repmgr/Makefile Sat Sep 14 16:31:26 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2019/07/12 12:49:26 adam Exp $
+# $NetBSD: Makefile,v 1.7 2019/09/14 16:31:26 adam Exp $
DISTNAME= repmgr-4.4.0
PKGNAME= postgresql${PGSQL_VERSION}-${DISTNAME}
@@ -29,13 +29,18 @@
${PKG_SYSCONFDIR}/repmgr.conf \
${REAL_ROOT_USER} ${PGGROUP} 0640
+PLIST_VARS+= llvm
+.include "../../mk/pgsql.buildlink3.mk"
+.if !empty(PKG_OPTIONS.postgresql${PGSQL_VERSION}:Mllvm)
+PLIST.llvm= yes
+.endif
+
post-install:
${INSTALL_DATA} ${WRKSRC}/README.md \
${DESTDIR}${PREFIX}/${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/repmgr.conf.sample \
${DESTDIR}${PREFIX}/${EGDIR}
-.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 27aeda636722 -r c9cc34ad6a71 databases/repmgr/PLIST
--- a/databases/repmgr/PLIST Sat Sep 14 16:09:52 2019 +0000
+++ b/databases/repmgr/PLIST Sat Sep 14 16:31:26 2019 +0000
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.5 2019/07/12 12:49:26 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2019/09/14 16:31:26 adam Exp $
bin/repmgr
bin/repmgrd
-lib/postgresql/bitcode/repmgr.index.bc
-lib/postgresql/bitcode/repmgr/repmgr.bc
+${PLIST.llvm}lib/postgresql/bitcode/repmgr.index.bc
+${PLIST.llvm}lib/postgresql/bitcode/repmgr/repmgr.bc
lib/postgresql/repmgr.so
share/doc/repmgr/README.md
share/examples/repmgr/repmgr.conf.sample
Home |
Main Index |
Thread Index |
Old Index