Ticket #13085 (closed defect: fixed)
BUG: xfig 3.2.5_1 unable to activate
| Reported by: | javaprob@… | Owned by: | pguyot@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.5.0 |
| Keywords: | xfig x11 activate | Cc: | pguyot@…, kurtjaeke@… |
| Port: |
Description
Attempting to install xfig.
*) I am using a clean installation of Leopard
*) XcodeTools.mpkg installed
*) X11SDK.pkg installed
*) All the dependences build, but xfig will not activate
$ sudo port install xfig
Password:
---> Activating xfig 3.2.5_1
Error: Target org.macports.activate returned: Image error: /usr/X11/lib/X11/app-defaults already exists and does not belong to a registered port. Unable to activate port xfig.
Error: Status 1 encountered during processing.
Attachments
Change History
Changed 6 years ago by alexander.zimmermann@…
- Attachment xfig.2.tgz added
New patch files which solve the problem
comment:2 Changed 6 years ago by alexander.zimmermann@…
The patch file(s) above solve the problem (and patch also some other problems), but...
xfig complains now that it cannot find the app-defaults anymore. I try to fix the Portfile with something like this
post-destroot {
file mkdir ${destroot}${prefix}/usr/X11R6/lib/X11
file move ...
file delete ${destroot}/usr/X11/lib/X11/app-defaults
}
but the first command (file mkdir) does not work. Any ideas?
comment:3 Changed 6 years ago by milosh@…
You could use
xinstall -d ${destroot}${prefix}/usr/X11R6/lib/X11
instead of mkdir.
comment:5 Changed 5 years ago by balasandeep@…
Has this issue been resolved? It is not clear to me how to apply the patch in the attachment. Is it possible for macosforge to host all the files including the patches in one location, and then modify the portfile to source the files from that location? Xfig is not going to have any newer versions, so there won't be any need to update these files.
comment:7 follow-up: ↓ 8 Changed 5 years ago by alexander.zimmermann@…
Problem is solved. We can close the ticket.

