diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-02-12 09:22:07 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-02-12 09:22:07 +0000 |
commit | 8eb3d1a3708da0a9aca5306f2c8cb984bac4184c (patch) | |
tree | db311910214985a9566b074855e5df16ec37249e /www/p5-Apache-Gallery | |
parent | e662fd7e73ea898e8f96b58cbe0c35a298e5c01c (diff) | |
download | ports-8eb3d1a3708da0a9aca5306f2c8cb984bac4184c.tar.gz ports-8eb3d1a3708da0a9aca5306f2c8cb984bac4184c.zip |
Force www/p5-Apache-Gallery to use p5-File-Spec for perl < 5.7
PR: ports/48201
Submitted by: Erwin Lansing <erwin@lansing.dk>
Notes
Notes:
svn path=/head/; revision=75355
Diffstat (limited to 'www/p5-Apache-Gallery')
-rw-r--r-- | www/p5-Apache-Gallery/Makefile | 11 | ||||
-rw-r--r-- | www/p5-Apache-Gallery/pkg-comment | 1 |
2 files changed, 9 insertions, 3 deletions
diff --git a/www/p5-Apache-Gallery/Makefile b/www/p5-Apache-Gallery/Makefile index abb5756b1ee8..174981d0304d 100644 --- a/www/p5-Apache-Gallery/Makefile +++ b/www/p5-Apache-Gallery/Makefile @@ -14,6 +14,7 @@ MASTER_SITE_SUBDIR= Apache PKGNAMEPREFIX= p5- MAINTAINER= erwin@lansing.dk +COMMENT= Apache::Gallery - mod_perl handler to create an image gallery LIB_DEPENDS= Imlib2.1:${PORTSDIR}/graphics/imlib2 BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq \ @@ -22,7 +23,6 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Apache/ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/CGI/FastTemplate.pm:${PORTSDIR}/www/p5-CGI-FastTemplate \ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Inline.pm:${PORTSDIR}/devel/p5-Inline \ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Image/Size.pm:${PORTSDIR}/graphics/p5-Image-Size \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple RUN_DEPENDS= ${BUILD_DEPENDS} @@ -60,4 +60,11 @@ post-install: @ ${CAT} ${PKGMESSAGE} .endif -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +RUN_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +.endif + +.include <bsd.port.post.mk> diff --git a/www/p5-Apache-Gallery/pkg-comment b/www/p5-Apache-Gallery/pkg-comment deleted file mode 100644 index dea9f4eaa0c9..000000000000 --- a/www/p5-Apache-Gallery/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Apache::Gallery - mod_perl handler to create an image gallery |