ATTENTION: Tcl/Tk transition

Charles Wilson cygwin@cwilson.fastmail.fm
Sat Dec 3 23:45:00 GMT 2011


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





More information about the Cygwin-apps mailing list