summaryrefslogtreecommitdiff
path: root/shells/bash/patches/patch-Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'shells/bash/patches/patch-Makefile.in')
-rw-r--r--shells/bash/patches/patch-Makefile.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/shells/bash/patches/patch-Makefile.in b/shells/bash/patches/patch-Makefile.in
new file mode 100644
index 00000000000..5181ffd77e7
--- /dev/null
+++ b/shells/bash/patches/patch-Makefile.in
@@ -0,0 +1,25 @@
+$NetBSD: patch-Makefile.in,v 1.1 2022/11/25 23:29:47 adam Exp $
+
+This patch fixes the build on MirBSD and OpenBSD, where LIBINTL and
+LIBICONV are incorrectly set.
+
+--- Makefile.in.orig 2014-01-25 21:27:30.000000000 +0000
++++ Makefile.in
+@@ -353,7 +353,7 @@ INTL_LIBDIR = $(dot)/$(LIBSUBDIR)/intl
+ INTL_ABSSRC = ${topdir}/$(INTL_LIB)
+ INTL_BUILDDIR = ${LIBBUILD}/intl
+
+-INTL_LIB = @LIBINTL@
++INTL_LIB = @LTLIBINTL@
+ INTL_LIBRARY = $(INTL_LIBDIR)/libintl.a
+ INTL_DEP = @INTL_DEP@
+ INTL_INC = @INTL_INC@
+@@ -361,7 +361,7 @@ INTL_INC = @INTL_INC@
+ LIBINTL_H = @LIBINTL_H@
+
+ # libiconv
+-LIBICONV = @LIBICONV@
++LIBICONV = @LTLIBICONV@
+
+ # tests
+ LIBINTL = @LIBINTL@