Ticket #10929 (closed enhancement: fixed)
[PATCH] Bison: dependency fixes and new upstream release
|Reported by:||blair@…||Owned by:||darwinports-bugs@…|
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.