Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Nov 2002 18:05:42 -0800 (PST)
From:      Josh Brooks <user@mail.econolodgetulsa.com>
To:        freebsd-questions@freebsd.org
Subject:   making source code changes to a port ?
Message-ID:  <20021123180213.R46279-100000@mail.econolodgetulsa.com>

next in thread | raw e-mail | index | archive | help

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 ?


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?20021123180213.R46279-100000>