Created
November 6, 2023 23:14
-
-
Save jmroot/55bbbc6e1f7f0fc383132e9a4125708c to your computer and use it in GitHub Desktop.
changing version in variant
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
testport1 has a variant defined like this: | |
variant oldversion { | |
version 1.0 | |
} | |
% port info --version testport1 | |
version: 2.0 | |
% port info --version testport1 +oldversion | |
version: 1.0 | |
% sudo port install testport1 +oldversion | |
Password: | |
---> Fetching archive for testport1 | |
---> Attempting to fetch testport1-1.0_0+oldversion.darwin_22.x86_64.tbz2 from file:///opt/local/var/macports/packages/testport1 | |
---> Fetching distfiles for testport1 | |
---> Verifying checksums for testport1 | |
---> Extracting testport1 | |
---> Configuring testport1 | |
---> Building testport1 | |
---> Staging testport1 into destroot | |
---> Installing testport1 @1.0_0+oldversion | |
---> Activating testport1 @1.0_0+oldversion | |
---> Cleaning testport1 | |
% port outdated | |
The following installed ports are outdated: | |
testport1 1.0_0 < 2.0_0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment