aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-04-11 22:09:35 +0800
committermat <mat@FreeBSD.org>2015-04-11 22:09:35 +0800
commite11ced1d64eb53cf0edf511f86bfbd960c6be4c7 (patch)
treef7f4bee7bdbe662590437c7b3ae663d5d5766ed8 /devel
parent7bdf85305632f9108d0fde11ae7d52fdf51f499e (diff)
downloadfreebsd-ports-gnome-e11ced1d64eb53cf0edf511f86bfbd960c6be4c7.tar.gz
freebsd-ports-gnome-e11ced1d64eb53cf0edf511f86bfbd960c6be4c7.tar.zst
freebsd-ports-gnome-e11ced1d64eb53cf0edf511f86bfbd960c6be4c7.zip
Archive::Extract has been removed from core in 5.20.
With hat: perl Sponsored by: Absolight
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Alien-SDL/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/p5-Alien-SDL/Makefile b/devel/p5-Alien-SDL/Makefile
index d6da61a469a3..5aa37429767a 100644
--- a/devel/p5-Alien-SDL/Makefile
+++ b/devel/p5-Alien-SDL/Makefile
@@ -23,4 +23,11 @@ USE_PERL5= modbuild
USE_SDL= gfx image mixer pango sdl ttf
CONFIGURE_ARGS= --with-sdl-config=${SDL_CONFIG}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} >= 502000
+BUILD_DEPENDS+= p5-Archive-Extract>=0:${PORTSDIR}/archivers/p5-Archive-Extract
+RUN_DEPENDS+= p5-Archive-Extract>=0:${PORTSDIR}/archivers/p5-Archive-Extract
+.endif
+
+.include <bsd.port.post.mk>