aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2006-05-04 17:02:30 +0800
committerthierry <thierry@FreeBSD.org>2006-05-04 17:02:30 +0800
commit214311d16cc6016e9600a971281157f2938181b9 (patch)
tree59d6041e833b8c5620a190338b30d7ba7cea7132 /databases
parent89971a6f69bc4087c657d94b794d1a4c083a638f (diff)
downloadfreebsd-ports-gnome-214311d16cc6016e9600a971281157f2938181b9.tar.gz
freebsd-ports-gnome-214311d16cc6016e9600a971281157f2938181b9.tar.zst
freebsd-ports-gnome-214311d16cc6016e9600a971281157f2938181b9.zip
Register missing dependency on p5-DBD-Pg when WITH_PERLTOOLS is defined.
PR: ports/96721 Submitted by: Vivek Khera <vivek (at) khera.org>
Diffstat (limited to 'databases')
-rw-r--r--databases/slony1/Makefile4
-rw-r--r--databases/slony1v2/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/databases/slony1/Makefile b/databases/slony1/Makefile
index 0420c7219bb9..901e13f4778a 100644
--- a/databases/slony1/Makefile
+++ b/databases/slony1/Makefile
@@ -33,8 +33,10 @@ OPTIONS= PERLTOOLS "Install perl configuration tools" Off
.include <bsd.port.pre.mk>
.if defined(WITH_PERLTOOLS)
-USE_PERL5_RUN= yes
+USE_PERL= yes
CONFIGURE_ARGS+= --with-perltools=${LOCALBASE}/sbin
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
PLIST_SUB+= PERLTOOLS=""
SUB_LIST+= PERLTOOLS=""
.else
diff --git a/databases/slony1v2/Makefile b/databases/slony1v2/Makefile
index 0420c7219bb9..901e13f4778a 100644
--- a/databases/slony1v2/Makefile
+++ b/databases/slony1v2/Makefile
@@ -33,8 +33,10 @@ OPTIONS= PERLTOOLS "Install perl configuration tools" Off
.include <bsd.port.pre.mk>
.if defined(WITH_PERLTOOLS)
-USE_PERL5_RUN= yes
+USE_PERL= yes
CONFIGURE_ARGS+= --with-perltools=${LOCALBASE}/sbin
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
PLIST_SUB+= PERLTOOLS=""
SUB_LIST+= PERLTOOLS=""
.else