1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

editors/emacs: Add pkg-message to update dependent packages

Submitted by:	ashish
This commit is contained in:
Joseph Mingrone 2020-08-13 03:00:51 +00:00
parent 416b184f2e
commit 5ff2f08590
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=544778

16
editors/emacs/pkg-message Normal file
View File

@ -0,0 +1,16 @@
[
{ type: upgrade
maximum_version: "27.1,3"
message: <<EOM
The major version of editors/emacs was bumped from 26 to 27. To upgrade
dependent packages, run these commands with superuser privileges:
# sh
# for i in $(pkg query -g %n '*-emacs26*'); do \
nn=$(echo "$i" | sed -e 's/emacs26/emacs27/'); \
pkg set -yn "$i":"$nn"; \
done;
# pkg upgrade
EOM
}
]