aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2012-03-11 22:33:16 +0800
committercrees <crees@FreeBSD.org>2012-03-11 22:33:16 +0800
commit61b3676478299cdf517a02a27ef3e4d802a6a82b (patch)
tree5388c01660f16915656a9b95fa406025c26906f4
parent95a44ec994c5aa1ad85fee70932c3a1adab74fa4 (diff)
downloadfreebsd-ports-gnome-61b3676478299cdf517a02a27ef3e4d802a6a82b.tar.gz
freebsd-ports-gnome-61b3676478299cdf517a02a27ef3e4d802a6a82b.tar.zst
freebsd-ports-gnome-61b3676478299cdf517a02a27ef3e4d802a6a82b.zip
Use new USE_PGSQL hooks for depending on server:build
Approved by: kuriyama (maintainer) Feature safe: yes
-rw-r--r--databases/pglesslog/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/databases/pglesslog/Makefile b/databases/pglesslog/Makefile
index c320b2bcb0e9..8df3d17fdb80 100644
--- a/databases/pglesslog/Makefile
+++ b/databases/pglesslog/Makefile
@@ -13,20 +13,15 @@ MASTER_SITES= http://pgfoundry.org/frs/download.php/2127/
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Reduce size of PostgreSQL archive log files by replacing backup blocks
-BUILD_DEPENDS= \
- ${NONEXISTENT}:${PORTSDIR}/${PGSQL_PORT}-server:build
-
USE_GMAKE= yes
-USE_PGSQL= YES
-WANT_PGSQL_VER?=83
+USE_PGSQL= client server:build
+WANT_PGSQL_VER= 83
WRKSRC= ${WRKDIR}/lesslog-${PORTVERSION}
-.include <bsd.port.pre.mk>
-
PGSQL_PORT= databases/postgresql${PGSQL_VER}
PGSQL_SRCDIR= `cd ${PORTSDIR}/${PGSQL_PORT}-server; ${MAKE} -VWRKSRC`
pre-build:
${REINPLACE_CMD} "s|top_builddir = ../..|top_builddir = ${PGSQL_SRCDIR}|" ${WRKSRC}/Makefile.*
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>