Opened 5 years ago
Closed 5 years ago
#61077 closed defect (fixed)
otfcc: Error: Unable to open port: can't read "short_arch": no such variable
| Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | amake (Aaron Madlon-Kay) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.6.3 |
| Keywords: | Cc: | ||
| Port: | otfcc |
Description
On any system where build_arch is set to neither i386 nor x86_64 the otfcc Portfile will fail to work at all:
$ port info otfcc Error: Unable to open port: can't read "short_arch": no such variable
When fixing this, also consider what happens when the universal variant is used.
Change History (3)
comment:1 Changed 5 years ago by Aaron Madlon-Kay <amake@…>
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
comment:2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
Thanks but that change doesn't fix the reported problem.
Please add
} else {
set short_arch ""
to ensure that short_arch is always defined.
comment:3 Changed 5 years ago by Aaron Madlon-Kay <amake@…>
| Resolution: | → fixed |
|---|---|
| Status: | reopened → closed |
Note: See
TracTickets for help on using
tickets.

In ca569403edbfe68092994423f8390b35f7598ba8/macports-ports (master):