5 Nov
2011
5 Nov
'11
2:25 p.m.
Peter Czanik <czanik@balabit.hu> writes:
The above tests were done on a FreeBSD 8.1 machine. I'll do a quick test on FreeBSD 9 (the current cvs version) later this afternoon, as the Makefile seems to have v9 related fixes: .if ${OSVERSION} >= 900007 @${REINPLACE_CMD} \ -e 's|utmp|utmpx|' -e 's|getutent|getutxent|' \ -e 's|ut_name|ut_user|' \ ${WRKSRC}/configure ${WRKSRC}/modules/afuser/afuser.c \ ${WRKSRC}/lib/utils.c ${WRKSRC}/lib/utils.h .endif
Wouldn't it be better if we turned this into a proper patch, so we wouldn't need any patching at all? This kind of sed magic is... how can I put it gently? Horrible. I'll see if I can come up with anything better. -- |8]