aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-Pg/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/p5-Pg/Makefile')
-rw-r--r--databases/p5-Pg/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/p5-Pg/Makefile b/databases/p5-Pg/Makefile
index cc9fd909f469..b6f032ada864 100644
--- a/databases/p5-Pg/Makefile
+++ b/databases/p5-Pg/Makefile
@@ -18,8 +18,8 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7
PERL_CONFIGURE= yes
-POSTGRES_HOME?= ${LOCALBASE}/pgsql
-MAKE_ENV+= POSTGRES_HOME=${POSTGRES_HOME}
+CONFIGURE_ENV= POSTGRES_INCLUDE=${LOCALBASE}/pgsql/include \
+ POSTGRES_LIB=${LOCALBASE}/pgsql/lib
MAN3= Pg.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}