From: Lionel B. <lio...@bo...> - 2005-03-09 00:09:11
|
Josh Endries wrote the following on 08.03.2005 17:30 : > 've never created a port, only used them, but since sqlgrey source > compiles and installs almost perfectly out-of-the-box, I wouldn't > think it would be too hard to make into a port. I can help you test > it if you like. There are only a couple things in the Makefile that > I need to tweak before installing (one path change and backup the > config file :)). The config file handling should be done outside SQLgrey's Makefile. Relying on the distribution to sorts things out with config files is the cleaner way. RPM-based distributions warn user when the config file changed since its installation and usually creates rpmnew/rpmsave files. Gentoo's Portage never overwrites config file unless explicitly told to and then helps the user interactively merge the old and new configuration files. FreeBSD ports should have one mechanism for that too (or the port maintainer should patch the Makefile), I don't want to force into the Makefile something tailored for FreeBSD. Lionel. |