Summary: | ASTERISK-02994: [patch] utils/Makefile doesn't work on Solaris | ||
Reporter: | slimey (slimey) | Labels: | |
Date Opened: | 2004-12-15 03:35:53.000-0600 | Date Closed: | 2008-01-15 15:16:48.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) patch_utilsmake_20041215.txt ( 1) patch_utilsmake_20041215.txt | |
Description: | Tweak to utils/Makefile to make it work on Solaris - problem is that TARGET is never set to 'none' if neither util is supposed to be built. There's probably a cleaner way to do this, but this works. Patch attached. ****** ADDITIONAL INFORMATION ****** Disclaimer on file | ||
Comments: | By: Mark Spencer (markster) 2004-12-15 11:19:55.000-0600 I just added "none" to the target list so it always gets "built" By: slimey (slimey) 2004-12-15 11:23:41.000-0600 That doesn't fix it... "make install" dies (note spaces after the first none in the test): dev.slimey.org-root-51: make install if [ "none " != "none" ]; then \ for x in none ; do \ install -m 755 $x /astman; \ done ; \ fi install: cannot stat `none': No such file or directory make: *** [install] Error 1 edited on: 12-15-04 11:25 By: slimey (slimey) 2004-12-15 11:30:22.000-0600 This revised patch on top of your tweak sorts it. By: Mark Spencer (markster) 2004-12-15 15:42:28.000-0600 Fixed in CVS, thanks! By: Digium Subversion (svnbot) 2008-01-15 15:16:44.000-0600 Repository: asterisk Revision: 4456 U trunk/utils/Makefile ------------------------------------------------------------------------ r4456 | markster | 2008-01-15 15:16:43 -0600 (Tue, 15 Jan 2008) | 2 lines Fix it so TARGET always has at least one thing in it (bug ASTERISK-2994) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=4456 By: Digium Subversion (svnbot) 2008-01-15 15:16:48.000-0600 Repository: asterisk Revision: 4461 U trunk/apps/app_disa.c U trunk/utils/Makefile ------------------------------------------------------------------------ r4461 | markster | 2008-01-15 15:16:48 -0600 (Tue, 15 Jan 2008) | 2 lines DISA fix, makefile fix (bug ASTERISK-2994) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=4461 |