On OSX 10.6.8...

I've installed a few macports programs; this creates /opt, and puts 
/opt/local/bin:/opt/local/sbin on the front of my PATH environment variable.

I'd like to build fossil with the system's /usr includes and libraries, and 
this is how the Makefile works. Is there a way to force this choice with 
autosetup's ./configure?

Using the Makefile, files are compiled (with no warnings or errors) with, e.g.,

gcc -g -Os -Wall -DFOSSIL_ENABLE_SSL   -I. -I./src -o ./bld/add.o -c 
./bld/add_.c

whereas using the configure generated GNUMakefile

cc -I/opt/local/include    -g -O2 -DHAVE_AUTOCONFIG_H  -I. -I./src -o 
./bld/add.o -c ./bld/add_.c

Note the extraneous -I/opt/local/include

Similarly with the configure generated GNUMakefile I also get a LIB option 

-L/opt/local/lib


I found that if I removed /opt/local/bin:/opt/local/sbin from my PATH then 
fossil was built as I expected. This seems like an awkward workaround.


e

_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to