Opened 19 years ago

Closed 19 years ago

#4433 closed defect (fixed)

BUG rb-cocoa installs templates at /

Reported by: pguyot (Paul Guyot) Owned by: yuhei@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: darwinports-bugs@…
Port:

Description

There seems to be a problem with rb-cocoa port (I'm using 10.4.2 with Xcode 2.1).

ls -l work/destroot/

total 0 drwxrwxr-x 4 root admin 136 15 aoû 12:50 Developer drwxr-xr-x 3 root wheel 102 15 aoû 12:50 File Templates drwxrwxr-x 4 root admin 136 15 aoû 12:50 Library drwxr-xr-x 3 root wheel 102 15 aoû 12:50 Project Templates drwxr-xr-x 3 root wheel 102 15 aoû 12:50 opt

What do the directories "Project Templates" and "File Templates" do here?

It seems that the problem is that pre-install.rb tries to install the templates for both ProjectBuilder and Xcode and since I don't have Project Builder, it puts these files at /.

Can we get rid of them during a post-destroot phase?

Attachments (1)

Portfile.diff (881 bytes) - added by yuhei@… 19 years ago.
Patch: Avoid installing extra files if ProjectBuild not found

Download all attachments as: .zip

Change History (3)

Changed 19 years ago by yuhei@…

Attachment: Portfile.diff added

Patch: Avoid installing extra files if ProjectBuild not found

comment:1 Changed 19 years ago by pguyot (Paul Guyot)

Yuhei-san,

When what is installed is modified but the version didn't change, we must increase the revision number (0 by default).

I'm testing & committing your changes with a revision number bumped to 2.

comment:2 Changed 19 years ago by pguyot (Paul Guyot)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.