[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg port

On Mon, Jul 09, 2001 at 12:34:40AM +0100, Matthew Garrett wrote:

> Several packages required minor alterations to makefiles or source. Is the
> right way to do this to define some variable under debian-netbsd builds and
> check whether this is defined inside the scripts/preprocessor, or is there a
> cleaner way of doing it inside the Debian packaging system?

The best thing to do (when possible) is to smarten up the package's own build
scripts and/or makefiles to do the right thing for all cases, and get those
changes incorporated upstream.  Failing that, just include the necessary
changes in diff as part of the Debian source package.

Try to keep records of what changes were necessary in each package, so that
they can be incorporated into the official Debian packages.

 - mdz

Reply to: