diff options
author | mat <mat@FreeBSD.org> | 2015-08-16 16:51:04 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2015-08-16 16:51:04 +0800 |
commit | f614a58c8493452cada0e0c4e7f668e959faff64 (patch) | |
tree | 8f40968326a88ee38df383131ed893f052b6a507 /lang/perl5-devel | |
parent | 1156ef2dec28daf1288a06b485ff8299ee4a152a (diff) | |
download | freebsd-ports-gnome-f614a58c8493452cada0e0c4e7f668e959faff64.tar.gz freebsd-ports-gnome-f614a58c8493452cada0e0c4e7f668e959faff64.tar.zst freebsd-ports-gnome-f614a58c8493452cada0e0c4e7f668e959faff64.zip |
Add a pkg-message to Perl 5.20+ about the /usr/bin/perl symlink.
Sponsored by: Absolight
Diffstat (limited to 'lang/perl5-devel')
-rw-r--r-- | lang/perl5-devel/Makefile | 1 | ||||
-rw-r--r-- | lang/perl5-devel/pkg-message | 11 |
2 files changed, 12 insertions, 0 deletions
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. |