Trying to patch rsync port.
Lars Bungum
Lars.Bungum at copyleft.no
Fri Aug 29 13:21:03 PDT 2003
Cheers!
I'm having problems with mknod errors coming from rsync. After searching
the internet, I found a patch to 2.5.5 that solves the problem. Although
the port seems upgraded to 2.5.6 in the meantime, I'd like to try this
patch to see if I can get it to work. The problem is that I don't really
know what I'm doing.
The patch can be found here:
http://lists.samba.org/pipermail/rsync/2002-June/007608.html
What I tried to do, was to paste it into a file /tmp/rsyncmknod.patch
and putting this line into the Makefile
EXTRA_PATCHES= /tmp/rsyncmknod.patch
..but I didn't get this to work. It asked me for a filename as I was
trying to make.
And afer I compiled successfully wihtout the patch make install failed
on this error (make -dA install)
--
===> Checking if net/rsync already installed
already_installed=`/usr/sbin/pkg_info -q -O net/rsync 2> /dev/null`; if
[ -n "${already_installed}" ]; then for p in ${already_installed}; do
prfx=`/usr/sbin/pkg_info -q -p ${p} 2> /dev/null | /usr/bin/head -n 1 |
/usr/bin/sed -ne '1s|^@cwd ||p'`; if [ "x/usr/local" = "x${prfx}" ];
then df=`/usr/sbin/pkg_info -q -f ${p} 2> /dev/null | /usr/bin/grep -v
"^@" | /usr/bin/comm -12 - /usr/ports/net/rsync/work/.PLIST.mktmp`; if
[ -n "${df}" ]; then found_package=${p}; break; fi; fi; done; fi;
*** Error code 1
---
..seems that pkg_info -O is not a legal option on my system. I don't
know if these issues are related. Thanks for help!
--
Mvh.
Lars Bungum <lb at cl.no>
More information about the freebsd-ports
mailing list