pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/repmgr



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Sep 14 16:31:26 UTC 2019

Modified Files:
        pkgsrc/databases/repmgr: Makefile PLIST

Log Message:
repmgr: PLIST fix for PostgreSQL with/without LLVM


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/databases/repmgr/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/databases/repmgr/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/repmgr/Makefile
diff -u pkgsrc/databases/repmgr/Makefile:1.6 pkgsrc/databases/repmgr/Makefile:1.7
--- pkgsrc/databases/repmgr/Makefile:1.6        Fri Jul 12 12:49:26 2019
+++ pkgsrc/databases/repmgr/Makefile    Sat Sep 14 16:31:26 2019
@@ -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 @@ CONF_FILES_PERMS+=  ${EGDIR}/repmgr.conf.
                        ${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"

Index: pkgsrc/databases/repmgr/PLIST
diff -u pkgsrc/databases/repmgr/PLIST:1.5 pkgsrc/databases/repmgr/PLIST:1.6
--- pkgsrc/databases/repmgr/PLIST:1.5   Fri Jul 12 12:49:26 2019
+++ pkgsrc/databases/repmgr/PLIST       Sat Sep 14 16:31:26 2019
@@ -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