Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#13573 closed defect (fixed)

yasm 0.6.2_0 forgotten dependencies on libiconv and gettext

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

Description

yasm 0.6.2_0 links with libiconv and gettext:

$ ldd /opt/local/bin/yasm 
/opt/local/bin/yasm:
        /opt/local/lib/libintl.8.dylib (compatibility version 9.0.0, current version 9.2.0)
        /opt/local/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.9)
        /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 368.31.0)
$

but the port does not declare these dependencies:

$ port deps yasm
yasm has no dependencies
$

The port should declare these dependencies, or force yasm not to link against these libraries.

Attachments (2)

yasm-0.6.2_1.diff (719 bytes) - added by bytestorm@… 17 years ago.
Adds nls variant requesting deps or removes nls from build
yasm-0.6.2_2.diff (696 bytes) - added by bytestorm@… 17 years ago.
0.6.2 -> 0.6.2_2 diff, no variant, just adds the deps to the port.

Download all attachments as: .zip

Change History (7)

Changed 17 years ago by bytestorm@…

Attachment: yasm-0.6.2_1.diff added

Adds nls variant requesting deps or removes nls from build

comment:1 Changed 17 years ago by bytestorm@…

Oops, that's embarrasing; this diff declares the dependancies in a variant if nls support is required. Thanks for catching that.

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

Actually I don't think there should be a variant for this. Who'd want to turn it off? Just keep it on all the time, but declare the dependencies. (We've had arguments on the list before specifically about not adding an "nls" variant to ports.)

Changed 17 years ago by bytestorm@…

Attachment: yasm-0.6.2_2.diff added

0.6.2 -> 0.6.2_2 diff, no variant, just adds the deps to the port.

comment:3 Changed 17 years ago by bytestorm@…

Ok, I missed that discussion. 0.6.2_2 allows nls by default, declaring deps for libiconv and gettext all the time. I considered a nonls variant, but again, who would want to turn it off? Diff is based off of 0.6.2_0 already in the ports tree.

comment:4 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Committed the update to 0.6.2_2 in r32033. Thanks.

FYI: You shouldn't remove the $Id$ header line in your patches in the future. The $Id$ line belongs at the top of every portfile.

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.