Let it build on a.out platforms.

Discovered by martin@, thanks.

ok naddy@, pvalchev@
This commit is contained in:
bernd 2006-02-22 11:15:47 +00:00
parent ea88e76f45
commit 96b58b7f04
2 changed files with 6 additions and 4 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.6 2006/01/25 16:03:35 bernd Exp $
# $OpenBSD: Makefile,v 1.7 2006/02/22 11:15:47 bernd Exp $
COMMENT= "high performance embedded database library"
DISTNAME= qdbm-1.8.44
PKGNAME= ${DISTNAME}p0
CATEGORIES= databases
SHARED_LIBS= qdbm 12.5

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-Makefile_in,v 1.3 2006/01/25 16:03:35 bernd Exp $
$OpenBSD: patch-Makefile_in,v 1.4 2006/02/22 11:15:47 bernd Exp $
--- Makefile.in.orig Sat Jan 14 18:01:14 2006
+++ Makefile.in Wed Jan 25 12:21:31 2006
+++ Makefile.in Mon Feb 20 12:33:28 2006
@@ -24,7 +24,7 @@ LIBREV = @LIBREV@
# Targets
MYHEADS = depot.h curia.h relic.h hovel.h cabin.h villa.h vista.h odeum.h
@ -40,8 +40,9 @@ $OpenBSD: patch-Makefile_in,v 1.3 2006/01/25 16:03:35 bernd Exp $
+LDFLAGS += -L. -L${LOCALBASE}/lib $(LIBS)
+LDENV = LD_RUN_PATH=/lib:/usr/lib:${LOCALBASE}/lib:$(MYLIBDIR)
AR = @AR@
ARFLAGS = rcsv
-ARFLAGS = rcsv
-RUNENV = LD_LIBRARY_PATH=.:/lib:/usr/lib:$(HOME)/lib:/usr/local/lib
+ARFLAGS = rcv
+RUNENV = LD_LIBRARY_PATH=.:/lib:/usr/lib:${LOCALBASE}/lib