diff options
author | rene <rene@FreeBSD.org> | 2011-05-24 03:19:17 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2011-05-24 03:19:17 +0800 |
commit | 3af4cf6d1d0c4b685ad6a4411f428aed50dfd7f2 (patch) | |
tree | 7bf1991cf22b9117778f410225862d433f72adf8 /www/chromium | |
parent | c7deb45ee85a62879da43887fe4ba3f6ef88f119 (diff) | |
download | freebsd-ports-gnome-3af4cf6d1d0c4b685ad6a4411f428aed50dfd7f2.tar.gz freebsd-ports-gnome-3af4cf6d1d0c4b685ad6a4411f428aed50dfd7f2.tar.zst freebsd-ports-gnome-3af4cf6d1d0c4b685ad6a4411f428aed50dfd7f2.zip |
Fix build for Perl 5.14 by adding a dependency on lang/p5-Switch in that case.
PR: ports/152737
Submitted by: Christoph Moench-Tegeder [cmt burggraben.net]
Diffstat (limited to 'www/chromium')
-rw-r--r-- | www/chromium/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/www/chromium/Makefile b/www/chromium/Makefile index ce943f1e989b..562de68b639b 100644 --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -112,6 +112,12 @@ STRIP= MAKE_ENV+= BUILDTYPE=${BUILDTYPE} MAKE_JOBS_SAFE= yes +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} >= 501400 +BUILD_DEPENDS+= p5-Switch>=0:${PORTSDIR}/lang/p5-Switch +.endif + pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "To build Chromium, you should have around 1 GB of memory" @@ -170,4 +176,4 @@ do-install: ${COPYTREE_SHARE} "locales resources" ${DATADIR} ${LN} -sf ${DATADIR}/chrome ${PREFIX}/bin -.include <bsd.port.mk> +.include <bsd.port.post.mk> |