Date: Sat, 23 Nov 2002 18:24:59 -0800 From: paul beard <paulbeard@mac.com> To: Josh Brooks <user@mail.econolodgetulsa.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: making source code changes to a port ? Message-ID: <3DE0387B.4070201@mac.com> In-Reply-To: <20021123180213.R46279-100000@mail.econolodgetulsa.com> References: <20021123180213.R46279-100000@mail.econolodgetulsa.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Josh Brooks wrote: > Hi folks, > > I have a piece of software that I want to install via the ports > tree, but > due to a specific custom behavior I want to add to it, I need to > edit a > few lines in one of the source files. > > Right now, I am doing the following: > > cd /usr/ports/category/package > make install > cd work/package-1.2.3/src > (edit file) > cd /usr/ports/category/package > make deinstall > make install > > > and this works, but it is rather unelegant - can't there be a > way to do > this without install/deinstall/install ? > > that is, how can I get the port to download and unpack all the > work into > port/work directory but not actually install anything until I > finish with > the edits, ect? then after that I would go do the `make install`. > > Anyone ? this sounds like a job for patch(1). -- Paul Beard / 8040 27th Ave NE / Seattle WA 98115 / paulbeard [at] mac [ dot] com / 206 529 8400 weblog @ <http://paulbeard.no-ip.org/movabletype/> Democracy is the recurrent suspicion that more than half of the people are right more than half of the time. -- E. B. White To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DE0387B.4070201>