diff options
Diffstat (limited to 'devel/p5-IPC-Cmd')
-rw-r--r-- | devel/p5-IPC-Cmd/Makefile | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/devel/p5-IPC-Cmd/Makefile b/devel/p5-IPC-Cmd/Makefile index 11c7f72db7f9..bb79e99a87a4 100644 --- a/devel/p5-IPC-Cmd/Makefile +++ b/devel/p5-IPC-Cmd/Makefile @@ -15,11 +15,20 @@ PKGNAMEPREFIX= p5- MAINTAINER= tobez@FreeBSD.org COMMENT= Finding and running system commands made easy -BUILD_DEPENDS= p5-IPC-Run>=0.55:${PORTSDIR}/devel/p5-IPC-Run -RUN_DEPENDS:= ${BUILD_DEPENDS} +COMMON_DEPENDS= p5-IPC-Run>=0.55:${PORTSDIR}/devel/p5-IPC-Run +BUILD_DEPENDS= ${COMMON_DEPENDS} +RUN_DEPENDS= ${COMMON_DEPENDS} PERL_CONFIGURE= yes MAN3= IPC::Cmd.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500905 +RUN_DEPENDS+= p5-Locale-Maketext-Simple>=0:${PORTSDIR}/devel/p5-Locale-Maketext-Simple \ + p5-Module-Load-Conditional>=0:${PORTSDIR}/devel/p5-Module-Load-Conditional \ + p5-Params-Check>=0.20:${PORTSDIR}/devel/p5-Params-Check +.endif + +.include <bsd.port.post.mk> |