$OpenBSD: patch-Makefile_in,v 1.4 2005/12/26 19:15:22 sturm Exp $ --- Makefile.in.orig Tue Oct 8 13:09:12 2002 +++ Makefile.in Tue Apr 14 03:40:16 2009 @@ -24,7 +24,7 @@ TEXI2DVI = texi2dvi DEFS = # Where the system [n]dbm routines are... -LIBS = @LIBS@ -lc +LIBS = @LIBS@ CFLAGS = @CFLAGS@ LDFLAGS = @LDFLAGS@ @@ -122,7 +122,7 @@ MSCFILES = COPYING ChangeLog Makefile.in README gdbm.3 DISTFILES = $(SRCS) $(HDRS) $(MSCFILES) -all: libgdbm.la libgdbm_compat.la +all: libgdbm.la libgdbm_compat.la info progs: $(PROGS) @@ -156,7 +156,7 @@ install-compat: libgdbm.la: $(LOBJS) gdbm.h rm -f libgdbm.la $(LIBTOOL) --mode=link $(CC) -o libgdbm.la -rpath $(libdir) \ - -version-info $(SHLIB_VER) $(LOBJS) + ${libgdbm_la_LDFLAGS} $(LOBJS) libgdbm_compat.la: $(C_LOBJS) gdbm.h rm -f libgdbm_compat.la