From c0611be9b7ff51b96fae769cbc55ba54c24f4e0d Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 13 Jun 2006 14:43:21 +0000 Subject: The rpm configure script doesn't check whether libintl.so has any library dependencies, e.g. libiconv.so. Set BROKEN_GETTEXT_DETECTION=yes to force LIBS to include -lintl and the right depenendent libraries to work around this bug. This is acceptable since every executable in misc/rpm is linked to -lintl anyway. This fixes PR pkg/33708. --- misc/rpm/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'misc/rpm/Makefile') diff --git a/misc/rpm/Makefile b/misc/rpm/Makefile index 7fce4f00cf6..e560b78508d 100644 --- a/misc/rpm/Makefile +++ b/misc/rpm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.59 2006/04/13 18:23:35 jlam Exp $ +# $NetBSD: Makefile,v 1.60 2006/06/13 14:43:21 jlam Exp $ DISTNAME= rpm-2.5.4 PKGREVISION= 5 @@ -38,6 +38,11 @@ post-install: $(RANLIB) ${PREFIX}/lib/librpm.a .endif +# The configure script doesn't detect whether libintl.so has any +# library dependencies. +# +BROKEN_GETTEXT_DETECTION= yes + .include "../../devel/gettext-lib/buildlink3.mk" .include "../../devel/popt/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" -- cgit v1.2.3