On 2019/12/28 13:58, Frederic Cambus wrote: > On Mon, Dec 16, 2019 at 02:23:05PM +0000, Stuart Henderson wrote: > > On 2019/12/14 13:57, Frederic Cambus wrote: > > > > Here is a new port: graphics/libspiro. > > [...] > > > > Comments? OK? > > > > What's the reason for the gnu libtool use? I'd like to see a comment > > next to the line in the cases where it's unavoidable. > > I used GNU libtool because libspiro fails to build otherwise: > > cc: error: unsupported option '--mode=link' > Error while executing cc -shared -fPIC -DPIC -o .libs/libspiro.so.0.0 -Wall > -Wextra -Wcast-align -Wbad-function-cast -Wc++-compat -Wmissing-prototypes > -Wunused -O2 -pipe -Wall -Wextra -Wcast-align -Wbad-function-cast > -Wc++-compat -Wmissing-prototypes -Wunused --mode=link .libs/spiro.o > .libs/bezctx.o .libs/spiroentrypoints.o -L.libs -lm > -Wl,-soname,libspiro.so.0.0 > > If this is a valid reason, I will add a comment. If not please point me > in the right direction :) >
I think that is OK with a comment. If/when somebody has time to work on base libtool they can easily search the ports tree for these and get some idea from the comment what the problem might be - and requiring the comment helps discourage others from just using USE_LIBTOOL=gnu when all that's needed is the m4 files :-)