Yaakov -- the installed tclConfig.sh and tkConfig.sh files include stuff like this:

TCL_DEFS='-DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tcl\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 ....

This causes warnings (PACKAGE_NAME redefined, etc) when building other packages. Could you update your .cygport(5) to add a line like this:

        -e '/^TCL_DEFS/s|-DPACKAGE[^=]*=\\\"[^"]*" ||g' \

to the "munge the tclConfig.sh" section of src_install? (Likewise TK_DEFS etc).

--
Chuck



Reply via email to