Opened 10 years ago
Closed 10 years ago
#46143 closed update (fixed)
octave-time has been merged into octave-financial
Reported by: | Schamschula (Marius Schamschula) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | haspatch | Cc: | kurthindenburg (Kurt Hindenburg) |
Port: | octave-time |
Description
octave-time has been merged into octave-financial. See http://octave.sourceforge.net/packages.php.
Attachments (1)
Change History (6)
comment:1 follow-up: 2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Changed 10 years ago by Schamschula (Marius Schamschula)
Attachment: | Portfile-octave-time.diff added |
---|
comment:2 Changed 10 years ago by Schamschula (Marius Schamschula)
Replying to 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 theobsolete 1.0
portgroup to simplify the port and also avoid this problem.
As per Ryan's suggestion, changed Portfile to use PortGroup obsolete.
comment:4 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)
I noticed when obsoleting another octave port that using the PortGroup obsolete doesn't print out an error message if you try to install it. I had to add a pre-fetch error message. I presume that something in the octave PortGroup is causing this.
comment:5 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)
Resolution: | → fixed |
---|---|
Status: | new → closed |
done r134925
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 theobsolete 1.0
portgroup to simplify the port and also avoid this problem.