[MacPorts] #46143: octave-time has been merged into octave-financial
MacPorts
noreply at macports.org
Sat Dec 6 03:42:43 PST 2014
#46143: octave-time has been merged into octave-financial
-----------------------------+--------------------------------
Reporter: mschamschula@… | Owner: macports-tickets@…
Type: update | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords: haspatch
Port: octave-time |
-----------------------------+--------------------------------
Comment (by mschamschula@…):
Replying to [comment:1 ryandesign@…]:
> The error message you're having the port print in the pre-configure
block says the port is replaced by octave-miscellaneous, but it's actually
replaced by octave-financial. Probably a copy/paste error, but it
illustrates the pitfalls of repeating information in a portfile. For
values that are used more than once in a portfile, define the value only
once, in a variable, then use that variable anywhere else it's needed. In
this case, the variable is `${replaced_by}`. Or use the `obsolete 1.0`
portgroup to simplify the port and also avoid this problem.
As per Ryan's suggestion, changed Portfile to use PortGroup obsolete.
--
Ticket URL: <https://trac.macports.org/ticket/46143#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list