diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2011-06-29 13:05:03 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2011-06-29 13:05:03 +0800 |
commit | 88fa149fdd95a277ff39f36a79a7d6ff9a153b67 (patch) | |
tree | c8f9c2ae8ab532452ee321fe5ce40f043458ff4d /databases | |
parent | d3a2a649a96adca16607b84a3f7c92ab6271d14c (diff) | |
download | freebsd-ports-gnome-88fa149fdd95a277ff39f36a79a7d6ff9a153b67.tar.gz freebsd-ports-gnome-88fa149fdd95a277ff39f36a79a7d6ff9a153b67.tar.zst freebsd-ports-gnome-88fa149fdd95a277ff39f36a79a7d6ff9a153b67.zip |
- Fix *_DEPENDS: devel/p5-version is required by lang/perl5.8 only
- Bump PORTREVISION for dependency change
Diffstat (limited to 'databases')
-rw-r--r-- | databases/p5-DBD-Pg/Makefile | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/databases/p5-DBD-Pg/Makefile b/databases/p5-DBD-Pg/Makefile index f23669bd6e65..48ff7058983c 100644 --- a/databases/p5-DBD-Pg/Makefile +++ b/databases/p5-DBD-Pg/Makefile @@ -7,6 +7,7 @@ PORTNAME= DBD-Pg PORTVERSION= 2.18.1 +PORTREVISION= 1 CATEGORIES= databases perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -14,12 +15,11 @@ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Provides access to PostgreSQL databases through the DBI -LICENSE_COMB= dual LICENSE= ART20 GPLv1 +LICENSE_COMB= dual -BUILD_DEPENDS= p5-DBI>=1.52:${PORTSDIR}/databases/p5-DBI \ - p5-version>=0:${PORTSDIR}/devel/p5-version -RUN_DEPENDS= ${BUILD_DEPENDS} +BUILD_DEPENDS= p5-DBI>=1.52:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS= p5-DBI>=1.52:${PORTSDIR}/databases/p5-DBI USE_PGSQL= yes @@ -36,4 +36,11 @@ post-install: @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .endif -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501000 +BUILD_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version +RUN_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version +.endif + +.include <bsd.port.post.mk> |