diff options
author | Chris Rees <crees@FreeBSD.org> | 2014-08-25 17:53:26 +0000 |
---|---|---|
committer | Chris Rees <crees@FreeBSD.org> | 2014-08-25 17:53:26 +0000 |
commit | dab15277f4ab5eef396460d80afc54d1f390a815 (patch) | |
tree | f4e1f058cc1522d75a823a40f2ba1399351fc840 /databases/postgresql-plproxy | |
parent | 32d8ffea3cafc13aed6c11f064e6d912acffe5a2 (diff) | |
download | ports-dab15277f4ab5eef396460d80afc54d1f390a815.tar.gz ports-dab15277f4ab5eef396460d80afc54d1f390a815.zip |
Notes
Diffstat (limited to 'databases/postgresql-plproxy')
-rw-r--r-- | databases/postgresql-plproxy/Makefile | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/databases/postgresql-plproxy/Makefile b/databases/postgresql-plproxy/Makefile index 3c6bf158d971..d5527aab155f 100644 --- a/databases/postgresql-plproxy/Makefile +++ b/databases/postgresql-plproxy/Makefile @@ -12,24 +12,13 @@ COMMENT= PL/Proxy - database partitioning system LICENSE= BSD -USES= bison gmake -USE_PGSQL= yes +USES+= bison gmake pgsql PORTSCOUT= site:http://pgfoundry.org/frs/?group_id=1000207 .include <bsd.port.pre.mk> -.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} -n 's/PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)[^0-9].*/\1\2/p' -.else -PGSQL_VER= ${DEFAULT_PGSQL_VER} -.endif - -.if ${PGSQL_VER} > 91 +.if ${PGSQL_VER} > 9.1 PLIST_SUB+= NEW_CONTRIB_DIR="" OLD_CONTRIB_DIR="@comment " .else PLIST_SUB+= NEW_CONTRIB_DIR="@comment " OLD_CONTRIB_DIR="" |