openbsd-ports/devel/gettext/patches/patch-gettext-tools_src_Makefile_in
naddy 16dd58a3a5 Update to 0.21. Incremental changes only.
From martijn@:
GCC on alpha has an optimization bug, which cause problems with gnulib's
mmalloca function. Disable alloca to work around the failing code.
2020-08-20 21:03:25 +00:00

29 lines
1.2 KiB
Plaintext

$OpenBSD: patch-gettext-tools_src_Makefile_in,v 1.13 2020/08/20 21:03:25 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/src/Makefile.in
--- gettext-tools/src/Makefile.in.orig
+++ gettext-tools/src/Makefile.in
@@ -2741,7 +2741,7 @@ cldr_plurals_LDADD = libgettextsrc.la $(LDADD)
# Need @LTLIBINTL@ because many source files use gettext().
# Need @LTLIBICONV@ because po-charset.c, po-lex.c, msgl-iconv.c, write-po.c
# use iconv().
-libgettextsrc_la_LDFLAGS = -release @VERSION@ \
+libgettextsrc_la_LDFLAGS = \
../gnulib-lib/libgettextlib.la $(LTLIBUNISTRING) \
$(LT_LIBTEXTSTYLE) @LTLIBINTL@ @LTLIBICONV@ -lc -no-undefined \
$(am__append_3) $(am__append_5) $(am__append_7)
@@ -4200,7 +4200,7 @@ uninstall-am: uninstall-binPROGRAMS uninstall-libLTLIB
@USE_INSTALLED_LIBTEXTSTYLE_FALSE@ $(MAKE) install-nobase_includeHEADERS install-nobase_nodist_includeHEADERS includedir="$$here"
# No need to install libgettextsrc.a, except on AIX.
-install-exec-hook: install-exec-clean
+install-exec-hook:
install-exec-clean:
case "@host_os@" in \
aix*) ;; \