diff options
author | edwin <edwin@FreeBSD.org> | 2003-02-12 17:22:07 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-02-12 17:22:07 +0800 |
commit | 82eefa5bbb50b7e7465052d8bd8e78473d0cf288 (patch) | |
tree | 74bc65027465740feda8567b9df3d1b10400581a | |
parent | 5611d67a518550679ce98dfdcaa20483f2874fd6 (diff) | |
download | freebsd-ports-gnome-82eefa5bbb50b7e7465052d8bd8e78473d0cf288.tar.gz freebsd-ports-gnome-82eefa5bbb50b7e7465052d8bd8e78473d0cf288.tar.zst freebsd-ports-gnome-82eefa5bbb50b7e7465052d8bd8e78473d0cf288.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>
-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 |