From owner-freebsd-ports Mon Jun 23 22:47:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id WAA24636 for ports-outgoing; Mon, 23 Jun 1997 22:47:19 -0700 (PDT) Received: from silvia.HIP.Berkeley.EDU (ala-ca11-15.ix.netcom.com [199.35.209.175]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA24631 for ; Mon, 23 Jun 1997 22:47:15 -0700 (PDT) Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.8.5/8.6.9) id WAA04632; Mon, 23 Jun 1997 22:47:07 -0700 (PDT) Date: Mon, 23 Jun 1997 22:47:07 -0700 (PDT) Message-Id: <199706240547.WAA04632@silvia.HIP.Berkeley.EDU> To: scott@statsci.com CC: freebsd-ports@FreeBSD.ORG In-reply-to: (message from Scott Blachowicz on Sat, 21 Jun 1997 16:41:54 -0700) Subject: Re: ports/3922: nmh port updated to nmh-0.15 From: asami@cs.berkeley.edu (Satoshi Asami) Sender: owner-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk * name in the path where 'cvs diff' doesn't. Is there a preference by those * applying patches to the master ports sources as to where the filenames should * be relative to? (i.e. apply with 'patch -p1' or 'patch -p' or whatever? Should * I strip the "nmh-port/" prefix out of my patch here?) I find it easier to have it without the pathname (that way you don't even need a "-p") but if that's the way cvs wants to generate diffs, that's no big deal. (If someone screws up and edits the wrong line, that would be much more hassle. ;) * Also, in general, would the above be better expressed as a pkg/INSTALL script * using ${PKG_PREFIX} & expanding it to give the real full paths to the files? * Or should I not bother with letting the installer know that some files might * need site-customizations? You certainly should. I usually just put "/usr/local" there, if the user knows enough to install the port elsewhere, I'm sure he is smart enough to figure out where the setup file moved. :) Satoshi