Last active
January 13, 2017 01:31
-
-
Save jnbek/3249738 to your computer and use it in GitHub Desktop.
Upgrade Perl 5.16 FreeBSD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
env DISABLE_CONFLICTS=1 portupgrade -cv -o lang/perl5.16 -f perl-5.12.\* | |
portupgrade -fr perl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
portmaster -o lang/perl5.24 lang/perl5.22 | |
portmaster -r perl- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Remove -n from portmaster to actually work. | |
for PKG in $(pkg info | awk '$1 ~ /php56-/ {print $1}') ; do DEST_PKG=$(pkg info -o $PKG | awk '{ print $2 }'| sed -e's/56/\{70,56\}/g'); eval /usr/local/sbin/portmaster -n -o $(echo ${DEST_PKG}); done; | |
/usr/local/sbin/portmaster -o lang/php70 lang/php56 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment