From f614a58c8493452cada0e0c4e7f668e959faff64 Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 16 Aug 2015 08:51:04 +0000 Subject: Add a pkg-message to Perl 5.20+ about the /usr/bin/perl symlink. Sponsored by: Absolight --- lang/perl5-devel/Makefile | 1 + lang/perl5-devel/pkg-message | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 lang/perl5-devel/pkg-message (limited to 'lang/perl5-devel') diff --git a/lang/perl5-devel/Makefile b/lang/perl5-devel/Makefile index b67dbe2af3f4..cca4e373c71a 100644 --- a/lang/perl5-devel/Makefile +++ b/lang/perl5-devel/Makefile @@ -2,6 +2,7 @@ # $FreeBSD$ PORTNAME= perl +PORTREVISION= 1 # XXX Remove second line, uncomment first #DISTVERSION= ${PERL_VERSION} DISTVERSION= ${GH_TAGNAME:C/^v//:C/-g[0-9a-f]*$//} diff --git a/lang/perl5-devel/pkg-message b/lang/perl5-devel/pkg-message new file mode 100644 index 000000000000..751268e62ee8 --- /dev/null +++ b/lang/perl5-devel/pkg-message @@ -0,0 +1,11 @@ +The /usr/bin/perl symlink has been removed starting with Perl 5.20. +For shebangs, you should either use: + +#!/usr/local/bin/perl + +or + +#!/usr/bin/env perl + +The first one will only work if you have a /usr/local/bin/perl, +the second will work as long as perl is in PATH. -- cgit