pkgsrc/misc/rpm/patches/patch-be
grant b64a4ec172 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.
2004-07-24 04:43:10 +00:00

14 lines
508 B
Text

$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@