$OpenBSD: patch-gettext-tools_gnulib-lib_Makefile_in,v 1.10 2019/05/20 22:15:03 naddy Exp $

Use standard shared library versioning.

Do not remove static library after building.
This was also a race if MAKE_JOBS > 1.

Index: gettext-tools/gnulib-lib/Makefile.in
--- gettext-tools/gnulib-lib/Makefile.in.orig
+++ gettext-tools/gnulib-lib/Makefile.in
@@ -2605,7 +2605,7 @@ libgettextlib_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined
 	$(ISNAND_LIBM) $(ISNANF_LIBM) $(ISNANL_LIBM) $(LIB_ACL) \
 	$(LIB_CLOCK_GETTIME) $(LOG10_LIBM) $(LTLIBICONV) $(LTLIBINTL) \
 	$(LTLIBTHREAD) $(LTLIBUNISTRING) $(POW_LIBM) \
-	@INTL_MACOSX_LIBS@ -release @VERSION@ $(am__append_3) \
+	@INTL_MACOSX_LIBS@ $(am__append_3) \
 	$(am__append_8) $(am__append_24) $(am__append_25)
 
 # Use this preprocessor expression to decide whether #include_next works.
@@ -3609,7 +3609,7 @@ getopt-cdefs.h: getopt-cdefs.in.h $(top_builddir)/conf
 	mv -f $@-t $@
 
 # No need to install libgettextlib.a, except on AIX.
-install-exec-local: install-libLTLIBRARIES install-exec-clean
+install-exec-local: install-libLTLIBRARIES
 install-exec-clean:
 	case "@host_os@" in \
 	  aix*) ;; \
