This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ATTENTION: Tcl/Tk transition


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]