Ticket #13518 (closed defect: fixed)
can't read "startupitem.uniquename": no such variable
| Reported by: | ryandesign@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | MacPorts 1.6 |
| Component: | base | Version: | 1.5.2 |
| Keywords: | Cc: | ||
| Port: |
Description
With MacPorts built from trunk@31681, I can't install apache2:
$ sudo port install ---> Fetching apache2 ---> Verifying checksum(s) for apache2 ---> Extracting apache2 ---> Applying patches to apache2 ---> Configuring apache2 ---> Building apache2 with target all ---> Staging apache2 into destroot ---> Creating launchd control script Error: Target org.macports.destroot returned: can't read "startupitem.uniquename": no such variable Error: Status 1 encountered during processing. $
I assume this came about as a result of the changes in r31500.
Change History
Note: See
TracTickets for help on using
tickets.


After fixing that, I get
And after fixing that, I get
Seems like some global definitions are missing in startupitem_create_darwin_launchd.
Also seems like the global definition for startupitem.requires isn't needed in this function.
Hopefully fixed all this in r31771.