Date: Wed, 21 Sep 2016 14:13:06 +0200 From: Palle Girgensohn <girgen@FreeBSD.org> To: ports@FreeBSD.org Subject: Is there a mechanism to select the preferred version from mulitple installed versions of a port? Message-ID: <28ECD867-F222-4C4D-BE44-4A75606973A9@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
--Apple-Mail=_1A6FD9A3-6272-4398-8034-AABA62F9CFBE Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, MacPorts has this and I believe that Debian has something similar. Say I want to install foobar-1.0 and foobar-2.0 and they CONFLICT what if I could change the foobar ports to install in, say = ${PREFIX}/libexec/foobar-1.0 and ${PREFIX}/libexec/foobar-2.0 = respectively, and then add a metaport that symlinks the preferred one. Fine you say, look at python or similar metaports. Sure, but it would = nice to have a port that also has a command portselect foobar foobar-1.0 or portselect foobar foobar-2.0 and the preferred version would be symlinked from = ${LOCALBASE}/bin/foobar -> ${PREFIX}/libexec/foobar-2.0/foobar so users = could set and change the default version and still use the common binary = distributed packages. Just a thought. This could of course be written for a specific port, but = perhaps there is a mechanism in the ports tree for this that I've = missed? Palle --Apple-Mail=_1A6FD9A3-6272-4398-8034-AABA62F9CFBE Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQEcBAEBCAAGBQJX4nlSAAoJEDQn0sf36UlsQYoH/RC7hntDZ3QXXhT/7o0bivbp D17bt3Ys5BzZN+M/U4F1BDZEJCwRUI/h/HudnS+eaFJOROzsnaXmlUc4LLb9vZBb 5AtqJjZgywc/GjM89L89PkUVtEMFiMOzK1Mk7Er9jnoFcbXTBrSEOtedkP3Yi+Za hI4yZPlA6e9tID3grfg5mtxEdLdl8CNeGWDff3SHfDeqS6fqPpweRRXJzq6QbzWI ahzK8RJtb6fUs548KYp7jMxzRGyp6mUI6VwhtHGG2Zn6r227TirrWAKAqI+Nd/Lb SQROk3pFSU+QYJs4PlwXFFfKqLwb13NANwFhIR3f31HFebNowR0l1gZxTdiyK9U= =Q1O3 -----END PGP SIGNATURE----- --Apple-Mail=_1A6FD9A3-6272-4398-8034-AABA62F9CFBE--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?28ECD867-F222-4C4D-BE44-4A75606973A9>