summaryrefslogtreecommitdiff
path: root/databases/p5-postgresql-plperl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/p5-postgresql-plperl/Makefile')
-rw-r--r--databases/p5-postgresql-plperl/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/databases/p5-postgresql-plperl/Makefile b/databases/p5-postgresql-plperl/Makefile
index 4e99c9adf953..2f459f2c0ad7 100644
--- a/databases/p5-postgresql-plperl/Makefile
+++ b/databases/p5-postgresql-plperl/Makefile
@@ -11,10 +11,11 @@ PKGNAMEPREFIX= p5-
MAINTAINER= girgen@pingpong.net
+POSTGRESQL_PORT?= databases/postgresql7
POSTGRESQL_SUBPORT=YES
-.include <${.CURDIR}/../postgresql7/Makefile>
+.include <${PORTSDIR}/${POSTGRESQL_PORT}/Makefile>
-RUN_DEPENDS= postgres:${PORTSDIR}/databases/postgresql7
+RUN_DEPENDS= postgres:${PORTSDIR}/${POSTGRESQL_PORT}
USE_PERL5= yes
CONFIGURE_ARGS= --with-perl