summaryrefslogtreecommitdiff
path: root/shells/bash/patches/patch-aj
blob: 4dfb708f43e13ab998749b55741efea2b11a195c (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-aj,v 1.1 2011/02/20 14:22:15 wiz Exp $

This patch fixes the build on MirBSD and OpenBSD, where LIBINTL and
LIBICONV are incorrectly set.

--- Makefile.in.orig	Wed Dec 30 18:05:16 2009
+++ Makefile.in
@@ -341,7 +341,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@
@@ -349,7 +349,7 @@ INTL_INC = @INTL_INC@
 LIBINTL_H = @LIBINTL_H@
 
 # libiconv
-LIBICONV = @LIBICONV@
+LIBICONV = @LTLIBICONV@
 
 # tests
 LIBINTL = @LIBINTL@