Clipper Fans,

On Mon, 10 Nov 2008, Kevin Monceaux wrote:

P.S. If anyone here is the FreeBSD harbour port maintainer or has contact with him/her, the version of Harbour in the FreeBSD ports tree is 0.44.0. It looks like it might be time for an update.

Well, this seemed like a good excuse to expand my knowledge. I hadn't tried to do anything more adventurous to a FreeBSD port then adding a patch, etc. After some tinkering I now have a Harbour 1.0.1 FreeBSD port that's working well enough for my needs. With a little more polishing I might even be brave enough to try submitting it to FreeBSD. :-)

Whoever created the 0.44.0 port added an additional Makefile and script. The port's Makefile executed the added Makefile, which in turn called the added script. That script set several Harbour environment variables to control the build, changed to the source dir, and finally executed Harbour's Makefile, via gmake. I've stripped out the unneeded layers of confusion and set all the environment variables in the port's Makefile.

So, anyway, I have a few questions to aid in the polishing. Has the Harbour development team ever considered using a ./configure script instead of various environment variables? It would greatly simplify creating Harbour packages on source based, and a few binary based, Linux distros, not to mention FreeBSD, etc. Most distros with automated build systems prefer building via:

   ./configure -> make -> make install

Where can I find documentation on all the environment variables available to control building Harbour? I found some in make_gcc.mak but it doesn't appear to be a complete list. HB_WITHOUT_X11, for example, isn't documented there.

The various *.txt files under doc and the Makefiles under doc appear to be out of sync. Some docs get omitted if I set HB_DOC_INSTALL. Is there an environment variable to enable installing the man pages? I don't even see a Makefile in doc/man. For the moment I'm just installing the docs and man pages via the port's Makefile.



Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX

Si hoc legere scis nimium eruditionis habes.
Longum iter est per praecepta, breve et efficax per exempla!!!

_______________________________________________
Harbour-users mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour-users

Reply via email to