I have downloaded the latest releases (1824) source release archive and tried to build it on FreeBSD. It failed due to wrong definition of 'flagLINUX'.
I ended up changing the 'domake' script to check on which *NIX platform it is running on (using 'uname') and then set a make variable to define the right platform flag.
What is missing so far is addition of 'uname' output check for Solaris and OSX.
Also I modified Build.cpp to export TheIDE Makefile taking into account these propagated platform flags.
Attached is the Build.cpp patch and the modified 'domake' script that is not complete, yet.
It would be nice if these changes could be applied before publishing the next releases source build.
dolik.rce Messages: 1778 Registered: August 2008 Location: Czech Republic
If we are about to change the exporting process I have also one little improvement. In all the generated Makefiles, the clean action fails if there is nothing to clean. And that happens quite a lot in debian packaging process Since now I had to patch them...
So I suggest something like this:
#in source builds Makefile:
if [ -d uppsrc/_out ]; then rm -rf uppsrc/_out ; fi
if [ -e uppsrc/ide.out ]; then rm uppsrc/ide.out ; fi
#in generated Makefiles:
if [ -d $(UPPOUT) ]; then rm -rf $(UPPOUT); fi
Yes, I would vote for that since I think this belongs to the install step.
For the FreeBSD port I only want to run the 'domake' script without automatically copying the program to the user's home.
Instead U++ assemblies are installed to /usr/local/share/upp and theide is installed to /usr/local/bin.