diff options
| author | Tobias Kortkamp <tobik@FreeBSD.org> | 2019-08-17 19:43:08 +0000 |
|---|---|---|
| committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2019-08-17 19:43:08 +0000 |
| commit | b7e3ccbc280ebe03f4a60f67a997414d66efc1ca (patch) | |
| tree | be52050af50c03c9bbbf430bcc17e026a1f1646d /databases/pg_partman/Makefile | |
| parent | 06985325fc74c1c26e4c978a6772ebdc5afb576e (diff) | |
Notes
Diffstat (limited to 'databases/pg_partman/Makefile')
| -rw-r--r-- | databases/pg_partman/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/databases/pg_partman/Makefile b/databases/pg_partman/Makefile index ce786b749029..2c0f41df9e5a 100644 --- a/databases/pg_partman/Makefile +++ b/databases/pg_partman/Makefile @@ -25,6 +25,16 @@ SHEBANG_GLOB= *.py OPTIONS_DEFINE= DOCS +.include <bsd.port.pre.mk> + +# With PG11+ some scripts are only installed when they are common to +# all PG versions. +.if ${PGSQL_VER:R} < 11 +PLIST_SUB+= OLDPG="" +.else +PLIST_SUB+= OLDPG="@comment " +.endif + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/pg_partman_bgw.so @@ -37,4 +47,4 @@ post-install-DOCS-on: post-install-DOCS-off: ${RM} -r ${STAGEDIR}${PREFIX}/share/doc/postgresql -.include <bsd.port.mk> +.include <bsd.port.post.mk> |
