diff options
author | marino <marino@FreeBSD.org> | 2013-07-22 14:48:27 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2013-07-22 14:48:27 +0800 |
commit | 6ac9d7d0a8f309454560ece1e7607d42138dfb5d (patch) | |
tree | dfd0f6be94a2d438def50e1a37db16c44a355355 | |
parent | d80a412f9e1c69076991da4f7895da29cbbcf3ed (diff) | |
download | freebsd-ports-gnome-6ac9d7d0a8f309454560ece1e7607d42138dfb5d.tar.gz freebsd-ports-gnome-6ac9d7d0a8f309454560ece1e7607d42138dfb5d.tar.zst freebsd-ports-gnome-6ac9d7d0a8f309454560ece1e7607d42138dfb5d.zip |
databases/skytools: Restrict to postgresql 9.1 and earlier
This version of skytools fails to build with postgresql 9.2
This port had complex logic to change pkg-plist with pgsql > 8.2, but
now all versions meet this criteria. Remove the logic and trim the
pkg-plist as well as the header. Also convert USE_GMAKE to USES+=gmake.
PR: ports/179957
submitted by: marino
Approved by: bapt (mentor), maintainer timeout
-rw-r--r-- | databases/skytools/Makefile | 30 | ||||
-rw-r--r-- | databases/skytools/pkg-plist | 5 |
2 files changed, 4 insertions, 31 deletions
diff --git a/databases/skytools/Makefile b/databases/skytools/Makefile index f2c0ee1e0c2c..d0205e88492d 100644 --- a/databases/skytools/Makefile +++ b/databases/skytools/Makefile @@ -1,9 +1,5 @@ -# Ports collection makefile for: skytools -# Date created: 27 July 2007 -# Whom: Sergey Skvortsov <skv@protey.ru> -# +# Created by: Sergey Skvortsov <skv@protey.ru> # $FreeBSD$ -# PORTNAME= skytools PORTVERSION= 2.1.12 @@ -15,9 +11,10 @@ MAINTAINER= kheechin@gmail.com COMMENT= PostgreSQL tools from Skype: walshipping, queueing, replication GNU_CONFIGURE= yes -USE_GMAKE= yes +USES= gmake USE_PGSQL= yes +WANT_PGSQL_VER= 91- USE_PYTHON= 2.5+ INSTALLS_EGGINFO= yes @@ -30,26 +27,7 @@ CONFIGURE_ARGS= --with-python=${PYTHON_CMD} \ --docdir=${EXAMPLESDIR} \ --with-pgconfig=${LOCALBASE}/bin/pg_config -.include <bsd.port.pre.mk> - -# Setting/finding PostgreSQL version we want. -.if exists(${LOCALBASE}/bin/postmaster) -PGSQL_VER!= ${LOCALBASE}/bin/postmaster -V | \ - ${SED} -En 's/.*PostgreSQL[^0-9]*([0-9]+)\.([0-9]+)\..*/\1\2/p' -.elif exists(${LOCALBASE}/bin/pg_config) -PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | \ - ${SED} -En 's/PostgreSQL[^0-9]*([0-9]*)\.([0-9]+)\..*/\1\2/p' -.else -PGSQL_VER= ${DEFAULT_PGSQL_VER} -.endif - -.if ${PGSQL_VER} > 82 -PLIST_SUB+= TXID="@comment " -.else -PLIST_SUB+= TXID="" -.endif - post-patch: @${REINPLACE_CMD} -e 's=share/doc=share/examples=' ${WRKSRC}/setup.py -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/databases/skytools/pkg-plist b/databases/skytools/pkg-plist index 776a3e9dc14c..6ff4389caa5b 100644 --- a/databases/skytools/pkg-plist +++ b/databases/skytools/pkg-plist @@ -81,11 +81,9 @@ bin/walmgr.py lib/postgresql/logtriga.so lib/postgresql/pgq_lowlevel.so lib/postgresql/pgq_triggers.so -%%TXID%%lib/postgresql/txid.so share/doc/postgresql/contrib/README.londiste share/doc/postgresql/contrib/README.pgq share/doc/postgresql/contrib/README.pgq_ext -%%TXID%%share/doc/postgresql/contrib/README.txid share/postgresql/contrib/logtriga.sql share/postgresql/contrib/londiste.sql share/postgresql/contrib/londiste.upgrade.sql @@ -95,8 +93,6 @@ share/postgresql/contrib/pgq_ext.sql share/postgresql/contrib/pgq_lowlevel.sql share/postgresql/contrib/pgq_triggers.sql share/postgresql/contrib/uninstall_pgq.sql -%%TXID%%share/postgresql/contrib/uninstall_txid.sql -%%TXID%%share/postgresql/contrib/txid.sql @dirrmtry lib/postgresql @dirrmtry share/doc/postgresql/contrib @dirrmtry share/doc/postgresql @@ -106,7 +102,6 @@ share/postgresql/contrib/uninstall_pgq.sql %%DATADIR%%/londiste.sql %%DATADIR%%/pgq.sql %%DATADIR%%/pgq_ext.sql -%%TXID%%%%DATADIR%%/txid.sql %%DATADIR%%/upgrade/final/v2.1.5_londiste.sql %%DATADIR%%/upgrade/final/v2.1.5_pgq_core.sql %%DATADIR%%/upgrade/final/v2.1.5_pgq_ext.sql |