portmaster, renamed ports, and DEPRECATED

Greg Larkin glarkin at FreeBSD.org
Mon Apr 19 16:52:22 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Doug,

I just tried to upgrade from math/libgmp4 to math/gmp after refreshing
my ports tree.  math/gmp has superseded math/libgmp4, so I used
portmaster's -o option to upgrade from a new origin, e.g.:

    portmaster -o math/gmp math/libgmp4

I've done this in the past with no problem, but this time, the old port
had already been marked DEPRECATED, and portmaster refused to continue
the upgrade. I commented out the DEPRECATED variable in
math/libgmp4/Makefile, and reran portmaster with no trouble.

Would it be possible to detect when -o is being used for an upgrade and
ignore DEPRECATED on the previous port?

Thank you,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/           - The Power To Serve
http://www.sourcehosting.net/     - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFLzIpA0sRouByUApARAk+qAKCJz2/Rnu89RORJseNiuaFO9zecowCghvJs
/j5GAx0/uHO1Drtt3VxRfH0=
=0zJW
-----END PGP SIGNATURE-----



More information about the freebsd-ports mailing list