aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/p5-HTTP-Request-Params/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/www/p5-HTTP-Request-Params/Makefile b/www/p5-HTTP-Request-Params/Makefile
index 7789ac2a13ea..0063df0d7e36 100644
--- a/www/p5-HTTP-Request-Params/Makefile
+++ b/www/p5-HTTP-Request-Params/Makefile
@@ -13,7 +13,8 @@ COMMENT= Retrieve GET/POST Parameters from HTTP Requests
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-Class-Accessor>=0.19:devel/p5-Class-Accessor \
+BUILD_DEPENDS= p5-CGI>=3:www/p5-CGI \
+ p5-Class-Accessor>=0.19:devel/p5-Class-Accessor \
p5-Email-MIME-ContentType>=1:mail/p5-Email-MIME-ContentType \
p5-Email-MIME>=1.420:mail/p5-Email-MIME \
p5-HTTP-Message>=1.40:www/p5-HTTP-Message
@@ -23,11 +24,4 @@ NO_ARCH= yes
USES= perl5
USE_PERL5= configure
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} >= 502200
-BUILD_DEPENDS+= p5-CGI>=3:www/p5-CGI
-RUN_DEPENDS+= p5-CGI>=3:www/p5-CGI
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>