openbsd-ports/databases/gdbm/patches/patch-ac
brad c4e7a413cc - change maintainer to ports@openbsd.org
- make gdbm's Makefile remove gdb.info before re-creating it
- remove pre-configure target
1999-12-09 21:00:51 +00:00

47 lines
867 B
Plaintext

--- Makefile.in.orig Tue May 18 23:16:06 1999
+++ Makefile.in Thu Dec 9 15:57:41 1999
@@ -18,20 +18,20 @@
BINOWN = bin
BINGRP = bin
-MAKEINFO = makeinfo
+MAKEINFO = makeinfo --no-split
TEXI2DVI = texi2dvi
DEFS =
# Where the system [n]dbm routines are...
-LIBS = @LIBS@ -lc
+LIBS = @LIBS@
# SunOS 4 users might wish to add '-fpcc-struct-return' to CFLAGS. see INSTALL.
-CFLAGS = -O
+CFLAGS = @CFLAGS@
LDFLAGS =
# Common prefix for installation directories
-prefix = /usr/local
+prefix = @prefix@
exec_prefix = $(prefix)
binprefix = $(exec_prefix)
manprefix = $(prefix)
@@ -115,7 +115,7 @@
DISTFILES = $(SRCS) $(HDRS) $(MSCFILES)
-all: libgdbm.la
+all: libgdbm.la info
progs: $(PROGS)
@@ -187,7 +187,8 @@
info: gdbm.info
-gdbm.info:
+gdbm.info: gdbm.texinfo
+ @rm -f gdbm.info*
$(MAKEINFO) $(srcdir)/gdbm.texinfo
dvi: gdbm.dvi