From owner-freebsd-questions@FreeBSD.ORG Wed Sep 17 22:34:44 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCFC716A4B3 for ; Wed, 17 Sep 2003 22:34:44 -0700 (PDT) Received: from floyd.gnulife.org (floyd.gnulife.org [199.86.41.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42E6743FB1 for ; Wed, 17 Sep 2003 22:34:44 -0700 (PDT) (envelope-from jamie@gnulife.org) Received: by floyd.gnulife.org (Postfix, from userid 1000) id DEDEC4335A; Thu, 18 Sep 2003 00:40:38 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by floyd.gnulife.org (Postfix) with ESMTP id D0D2843322 for ; Thu, 18 Sep 2003 00:40:38 -0500 (CDT) From: Jamie To: freebsd-questions@freebsd.org Message-ID: <20030918003419.I20651-100000@floyd.gnulife.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Patching source in a port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Thu, 18 Sep 2003 05:34:45 -0000 X-Original-Date: Thu, 18 Sep 2003 00:40:38 -0500 (CDT) X-List-Received-Date: Thu, 18 Sep 2003 05:34:45 -0000 Is it possible to patch the source code in a port, and then make, make install again to get it to install the patched code? I tried applying the sendmail patch. I had previously installed 8.12.9 from ports. This is basically what I did: cd /usr/ports/mail/sendmail-sasl/work/sendmail-8.9.12/sendmail patch < /path/to/patch -patch confirms that it went successfully. -I also edited version.c and changed the version number. cd ../../../ make PREFIX=/usr make PREFIX=/usr install But the patch doesn't seem to be taking effect. After restarting sendmail I: sendmail -bt -d0.11 < /dev/null and it tells me that it is still version 8.12.9. Am I doing something obviously wrong? The compilation seemed to run successfully. - Jamie "A friend is someone who lets you have total freedom to be yourself."