summaryrefslogtreecommitdiff
path: root/misc/rpm/patches/patch-be
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-07-24 04:43:10 +0000
committergrant <grant@pkgsrc.org>2004-07-24 04:43:10 +0000
commitb64a4ec172641e90a0b262560b4def031f78946d (patch)
tree385cdf0d085c319232f3573d7a622e843dc1832e /misc/rpm/patches/patch-be
parentdfe438e74bb229174f2d7bf8ef7dfb182fd05d86 (diff)
downloadpkgsrc-b64a4ec172641e90a0b262560b4def031f78946d.tar.gz
the included popt library is broken on some platforms because it assumes
alloca is available without explicitly pulling it in. use the devel/popt pkg instead and fix PKGLOCALEDIR handling while I'm here. fixes install on Solaris.
Diffstat (limited to 'misc/rpm/patches/patch-be')
-rw-r--r--misc/rpm/patches/patch-be14
1 files changed, 14 insertions, 0 deletions
diff --git a/misc/rpm/patches/patch-be b/misc/rpm/patches/patch-be
new file mode 100644
index 00000000000..e2f69cfd86e
--- /dev/null
+++ b/misc/rpm/patches/patch-be
@@ -0,0 +1,14 @@
+$NetBSD: patch-be,v 1.1 2004/07/24 04:43:10 grant Exp $
+
+--- Makefile.inc.in.orig 1998-09-01 21:22:34.000000000 +1000
++++ Makefile.inc.in
+@@ -17,8 +17,7 @@ RPMNLSDIR=@datadir@/locale
+ RPMNLSPACKAGE=rpm
+ CFLAGS = -I$(topdir) -I$(topsrcdir) @CFLAGS@ @INCPATH@ $(OPTS) \
+ -I$(topsrcdir)/lib -I$(topsrcdir)/misc
+-LDFLAGS = @LDFLAGS@ -L$(topdir)/lib -L$(topdir)/build -L$(topdir)/misc \
+- -L$(topdir)/popt
++LDFLAGS = @LDFLAGS@ -L$(topdir)/lib -L$(topdir)/build -L$(topdir)/misc
+ VERSION = 2.5.4
+ CC = @CC@
+