Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#13368 closed defect (fixed)

libiconv 1.12_0 utf8mac patch shouldn't use "system"

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: Cc: nox@…
Port:

Description

libiconv 1.12_0 implements the utf8mac patch in a weird way:

post-patch {
        if {![variant_isset disable_utf8mac]} {
                system "cd ${worksrcpath} && patch -p1 < ${filespath}/utf8mac.diff"
        }
}
variant disable_utf8mac {}

Why all this weirdness? The patch shouldn't need to use "system", it shouldn't need -p1. Reimplement this as a plain old ordinary patchfile.

Change History (3)

comment:1 Changed 16 years ago by nox@…

Why doesn't this patch name have the "patch-" part by the way?

comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Why indeed. :)

This should all be fixed in r31426.

comment:3 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.