summaryrefslogtreecommitdiff
path: root/misc/rpm
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-06-13 14:43:21 +0000
committerjlam <jlam@pkgsrc.org>2006-06-13 14:43:21 +0000
commitc0611be9b7ff51b96fae769cbc55ba54c24f4e0d (patch)
treeae10bd44c323df56205fc5c687f006980af11897 /misc/rpm
parent494b8fdbc6c99b956b5cce41ff8920a80cb424a9 (diff)
downloadpkgsrc-c0611be9b7ff51b96fae769cbc55ba54c24f4e0d.tar.gz
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.
Diffstat (limited to 'misc/rpm')
-rw-r--r--misc/rpm/Makefile7
1 files changed, 6 insertions, 1 deletions
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"