summaryrefslogtreecommitdiff
path: root/misc/rpm
diff options
context:
space:
mode:
authorjlam <jlam>2006-06-13 14:43:21 +0000
committerjlam <jlam>2006-06-13 14:43:21 +0000
commit919f611b3c0aefb035906df9bdeca6f1ff42dbff (patch)
treeae10bd44c323df56205fc5c687f006980af11897 /misc/rpm
parent0b1c1152d20d2833c162aaa8025f7280549b9901 (diff)
downloadpkgsrc-919f611b3c0aefb035906df9bdeca6f1ff42dbff.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"