3 | | I'm currently running into what appears to be an incompatibility in readline.c, where at least one of the completion function `#define`s is misdefined. Is there something I should know here re: using port:libedit vs port:readline (I notice that my original Pextlib links to the system libedit on Mac, but libreadline on Linux...) |
| 3 | https://github.com/RJVB/macstrop/tree/master/sysutils/MacPorts-pextlib |
| 4 | |
| 5 | For now this has only an implementation for the `MacPorts-pextlib-devel` subport which follows the MacPorts master branch and has my personal patches for Linux and features - in addition to (and distinguishable from) a number of patchfiles that are required to get things to build against installed ports. I've also figured out how to build only in the few directories that are of direct interest without having to build the entire project. This was as simple as using `port:sqlite3` as a build dependency rather than building the copy hidden in the vendored Tcl source tree. There are no hidden costs to it either; port:sqlite3 doesn't add new, indirect dependencies. |
| 6 | |
| 7 | I tested (on Mac and Linux): |
| 8 | - port fetch |
| 9 | - port checksum |
| 10 | - a rebuild and reinstall (`upgrade --force`) of `MacPorts-pextlib-devel` itself |
| 11 | |
| 12 | One of my feature patches reintroduces the Tcl binding for `mkstemp` that was dropped, so I could test with an older "base" install. Being able to do this is not a goal as discussed above but I think that the fact that everything I tested works normally indicates that the approach used here is reliable. |