Suggestions for building 1.75 on FreeBSD and other unixy-os
Posted: Fri Mar 04, 2011 2:35 pm
Hi all,
Firstly congrats on 1.75, it's proper luuuuurvely. I'm waiting for 1.76 stable with baited breath.
I would like to most humbly offer a couple of suggestions for the build process, however I'm posting this here and not in the suggestion box since the following cliche is probably true - "1% of computer users use Linux and less than 1% of that figure use FreeBSD." So to say I'm in a minority would be an understatement and therefore I fully understand if there's no desire to listen to my inane ramblings.
1) make != GNU Make on every system.
As much as I love sed would it be ok to specify $(MAKE) rather than make in the makefiles. I don't know of a version of make that doesn't specify $MAKE for sub-makes. I have made the very simple changes to Makefile and libjs.make as required if you'd like them? (Also, do I win an award for the most amounts of "make" ever used in a single paragraph?)
2) /bin/bash isn't always there.
The update-moziila.sh specifies /bin/bash as the scripting language. Would it be acceptable for me to submit a crusty old bourne shell version? I don't know of a single unix-a-like without /bin/sh.
3) cp != GNU cp on every system.
-u is a GNU flag and will preserve existing files if newer than the source file timestamp. In my opinion this is redundant for building from source and breaks compatability with BSD cp.
4) ^M is naughty, especially in shell script files.
tr -d '\r' is fun, but I'd rather not have to remove the icky windows taint
Once again thanks to the devs for all their sterling efforts. I'll go and hide back under my rock now.
Firstly congrats on 1.75, it's proper luuuuurvely. I'm waiting for 1.76 stable with baited breath.
I would like to most humbly offer a couple of suggestions for the build process, however I'm posting this here and not in the suggestion box since the following cliche is probably true - "1% of computer users use Linux and less than 1% of that figure use FreeBSD." So to say I'm in a minority would be an understatement and therefore I fully understand if there's no desire to listen to my inane ramblings.
1) make != GNU Make on every system.
As much as I love sed would it be ok to specify $(MAKE) rather than make in the makefiles. I don't know of a version of make that doesn't specify $MAKE for sub-makes. I have made the very simple changes to Makefile and libjs.make as required if you'd like them? (Also, do I win an award for the most amounts of "make" ever used in a single paragraph?)
2) /bin/bash isn't always there.
The update-moziila.sh specifies /bin/bash as the scripting language. Would it be acceptable for me to submit a crusty old bourne shell version? I don't know of a single unix-a-like without /bin/sh.
3) cp != GNU cp on every system.
-u is a GNU flag and will preserve existing files if newer than the source file timestamp. In my opinion this is redundant for building from source and breaks compatability with BSD cp.
4) ^M is naughty, especially in shell script files.
tr -d '\r' is fun, but I'd rather not have to remove the icky windows taint
Once again thanks to the devs for all their sterling efforts. I'll go and hide back under my rock now.