Created attachment 459886 [details] Applied against newt 0.52.11 Description of problem: Patches to allow newt to compile and install on Mac OS X. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Thanks. But it needs a bit more work, it breaks building and installing on Linux. The intl library shouldn't be used and GNU install uses -d option to create directories.
Created attachment 460104 [details] Detects the need for -lintl
1. Now builds correctly on Linux. 2. libintl is now optional, based upon whether gettext is found in -lc or -lintl. 3. BSD install does not have the -D flag, and BSD install is the portability standard (see Autoconf's install-sh script).
Created attachment 460460 [details] newt-0.52.12-macosx.patch Patch now finds the correct path of libtcl for linking.
Pushed to git with some modifications. If you have more patches, please use git format-patch. Thanks.