openbsd-ports/databases/gdbm/patches/patch-Makefile_in
2005-12-26 19:15:21 +00:00

31 lines
809 B
Plaintext

$OpenBSD: patch-Makefile_in,v 1.4 2005/12/26 19:15:22 sturm Exp $
--- Makefile.in.orig Tue Oct 8 18:09:12 2002
+++ Makefile.in Mon Dec 26 20:04:36 2005
@@ -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
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