pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/44606: shells/bash: fix build on MirBSD
>Number: 44606
>Category: pkg
>Synopsis: shells/bash: fix build on MirBSD
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat Feb 19 15:00:00 +0000 2011
>Originator: Benny Siegert
>Release:
>Organization:
The MirOS Project
>Environment:
MirBSD stanislaw.mirbsd.org 10 Kv#10uAD-20101224 GENERIC#1306 i386
>Description:
The shells/bash package does not build under MirBSD, due to a problem while
linking with libiconv and libintl. Instead of emitting a "-Lpath -llib, it puts
the name of the _static_ library, including libc, into LDFLAGS. As bash
contains a "glob" symbol that overwrites the one from libc, this fails.
The solution is to use LTLIBINTL instead of LIBINTL in LDFLAGS. The patch is
based on what OpenBSD ports does, so it concerns both OpenBSD and MirBSD.
Tested under MirBSD and Darwin.
>How-To-Repeat:
Try to build shells/bash on MirBSD.
>Fix:
Please apply the following patch. Please also test the build on NetBSD; I could
not test it there because I currently do not have a machine running NetBSD.
begin 644 bash.diff.gz
M'XL("!6Q7TT"`V)A<V@N9&EF9@"]5FU/VT@0_IS\BI&*E()CXO5+[`V*%`C7
M(Q6%BM"[WB>T]HZ3)8YMV0Y0M?WO-^N0$`*E2*UJ06S/SO/,[.PSNQZE$N]Z
M4$XQ2<I.*,II1ZJR4FF<-?N_?C4OAF.(58(]Z$0W99%E52>?3<HBZCP7LGW3
M++`J%-ZH=`(%W4J5I<#V;=:4*H[!7(`IP2RT!=:)FJ;Y[`P:S(/#O`#;8A8P
MN^?RGLO`M.AJU)R&8?P`R.$=AAK(--"R"+L$-@<#,+MM!XQNNPN#01/&)X<,
MWN:BBJ:F$+O0!]N-,9:268S;71GPT`UY+%"P2/BN<-Q02B_D/-["QAKK=WDD
M/)N'CO`]+Q;"MV*/^3P(?-NV_:X5!(''0W\+.]%85PI+N$[<#0-NN8$M8KK<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