Opened 18 years ago

Closed 18 years ago

#10929 closed enhancement (fixed)

[PATCH] Bison: dependency fixes and new upstream release

Reported by: blair (Blair Zajac) Owned by: darwinports-bugs@…
Priority: High Milestone:
Component: base Version:
Keywords: Cc:
Port:

Description

If you install m4 before you install bison, then bison will use MacPorts' m4.

$ strings /opt/local/bin/bison |grep bin/gm4
/opt/local/bin/gm4

But if you uninstall m4, then it'll break bison. So I think bison should explicitly depend upon m4. And it needs to be a depends_lib so that configure will pick it up.

Also, if you have gettext installed before you build bison, then it'll depend upon it:

$ otool -L /opt/local/bin/bison
/opt/local/bin/bison:
        /opt/local/lib/libintl.8.dylib (compatibility version 9.0.0, current version 9.0.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.4)
        /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 368.27.0)

So I think we should add this dependency also.

Regards, Blair

Attachments (1)

Portfile (1.1 KB) - added by blair (Blair Zajac) 18 years ago.
New Portfile

Download all attachments as: .zip

Change History (3)

Changed 18 years ago by blair (Blair Zajac)

Attachment: Portfile added

New Portfile

comment:1 Changed 18 years ago by blair (Blair Zajac)

Given the policy mentioned here of waiting 72 hours for the port maintainer to respond to the ticket, with no response, I committed the changes myself in r20181.

http://darwinports.opendarwin.org/docs/ch14s02.html#id1002379

I'll close this ticket myself when I get the Trac rights :)

Regards, Blair

comment:2 Changed 18 years ago by pmq@…

Resolution: fixed
Status: newclosed

Closing it for you.

Note: See TracTickets for help on using tickets.