This forward ports a patch carried with Julia Language distribution of ngspice. The full outstanding patch list is available at https://github.com/JuliaPackaging/Yggdrasil/tree/master/N/ngspice/bundled/patches. I'm doing these one at a time, but please let me know if you would like me to just open one ticket per patch or one ticket with all the patches, or alternatively you can just take a look at the patches over there. Let me know what would work best for you.
This particular patch is:
[PATCH] autogen.sh: Allow setting LIBTOOLIZE as an env var The autogen.sh script changes the name of LIBTOOLIZE based on whether or not the current host is Darwin. That's a reasonable thing to do, since libtoolize is traditionally called glibtoolize on Darwin to indicate that it is a GNU tool. However, it is possible to target Darwin with a GNU userland, in which case the tool would just be called `libtoolize`. Fix autogen.sh to respect the LIBTOOLIZE env var if it is set, such that the build driver can select the appropriate tool name for the build environment.