On Sep 3, 2013, at 0:18, Jan Stary <[email protected]> wrote: > I am trying to build sysutils/tmux on MacOSX 10.4.11 > It fails because 10.4.11 (Darwin 8.11.0) does not have > libproc.h that is included by tmux's osdep-darwin.c: > > osdep-darwin.c:22:21: error: libproc.h: No such file or directory > > This problem has been encountered before, > and there is even a known workaround. > use an older version of osdep-darwin.c > > http://sourceforge.net/mailarchive/forum.php?thread_name=51A035A8.6090504%40gmail.com&forum_name=tmux-users > > I would like to prepare a diff to the tmux Portfile > so that it builds on my 10.4.11, but I am not sure > what is the right way to do this. > > Does macports have the ability to say, in a Portfile, > > "if we are pre-10.5, replace osdep-darwin.c with > git checkout c1b994852594b23b7443e01e05257c991684ba4e -- osdep-darwin.c" ? > > Or would it be better to just hold a copy of that version of the file > in the port's files/, and conditionally use it on pre-10.5?
I suggest you just provide a patch which results in the port not using libproc when on Tiger (likely just preprocessing goop in whatever file is using it). --Jeremy
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ macports-users mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-users
