On 7/2/06, David Cathcart <[EMAIL PROTECTED]> wrote:
Built & runs on i386, sparc, sparc64, alpha. Tested transferring waypoints with a garmin etrex legend (serial) on i386. Perhaps adding some of the docs to the port would be usefull. The below diff to your port includes the docs and cleans up a bit.David
-- snip -- Thanks for the tips, the MAKE_ENV is a good way of doing it, however the INSTALL_TARGETDIR failed, so am still patching there. CK wrote:
Points to consider: "-O" is hardcoded in the makefile, and so is the choice of compiler. Consider adjusting it so that i can say env CC="egcc -pipe" CFLAGS="-Wall -O2 -funroll-loops" make and have the build process respect my chosen flags. From the Makefile, I'm unable to see where the compiler is hardcoded,
however the optimisations do seem to be. However, I have little experience with makefiles and ports. I'd assume that undefining it in the gpsbabel makefile, and placing it into port makefile would allow it to be overridden, correct me if I'm wrong here. But attached is the port with the changes that David recommended, with my own change to the port makefile to remove the useless INSTALL_TARGETDIR. I have just attempted to test with a Garmin eTrex yellow, seemed to fail, just hanging. Version 1.3.0 has also just been released (within the past 10 minutes), I will update and try and find the problem when I have time tomorrow. -- Tom
gpsbabel-1.2.7.tar.gz
Description: GNU Zip compressed data