summaryrefslogtreecommitdiff
path: root/shells/bash/patches/patch-Makefile.in
blob: 5181ffd77e7666526dd76bcdc3e7d49c65d7ac2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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@