ports/devel/gettext/patches/patch-gettext-tools_src_Makefile_in

27 lines
1.1 KiB
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
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
2023-09-20 18:59:05 +00:00
@@ -3923,7 +3923,7 @@ cldr_plurals_LDADD = libgettextsrc.la $(LDADD)
2023-08-16 22:26:55 +00:00
# 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)
2023-09-20 18:59:05 +00:00
@@ -5385,7 +5385,7 @@ uninstall-am: uninstall-binPROGRAMS uninstall-libLTLIB
2023-08-16 22:26:55 +00:00
@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*) ;; \