From owner-freebsd-ports@FreeBSD.ORG Fri Aug 29 13:21:03 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B58A16A4BF for ; Fri, 29 Aug 2003 13:21:03 -0700 (PDT) Received: from unity.copyleft.no (unity.copyleft.no [212.71.72.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2830643FDD for ; Fri, 29 Aug 2003 13:21:02 -0700 (PDT) (envelope-from bungum@unity.copyleft.no) Received: from bungum (helo=localhost) by unity.copyleft.no with local-esmtp (Exim 3.36 #1) id 19spjw-000F4B-00 for freebsd-ports@freebsd.org; Fri, 29 Aug 2003 22:21:00 +0200 Date: Fri, 29 Aug 2003 22:21:00 +0200 (CEST) From: Lars Bungum X-X-Sender: bungum@unity.copyleft.no To: freebsd-ports@freebsd.org Message-ID: <20030829221932.Q55451-100000@unity.copyleft.no> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: "Lars Bungum,Copyleft Software" Subject: Trying to patch rsync port. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Aug 2003 20:21:03 -0000 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