summaryrefslogtreecommitdiff
path: root/databases/gdbm/patches/patch-ab
blob: a7f750cc6f8b8d598a763e3ca25d41e0792307a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- Makefile.in.orig	Tue May 18 20:16:06 1999
+++ Makefile.in	Thu Aug 16 14:27:07 2001
@@ -27,11 +27,11 @@
 LIBS = @LIBS@ -lc
 
 # SunOS 4 users might wish to add '-fpcc-struct-return' to CFLAGS. see INSTALL.
-CFLAGS = -O
+#CFLAGS =
 LDFLAGS =
 
 # Common prefix for installation directories
-prefix = /usr/local
+prefix = @prefix@
 exec_prefix = $(prefix)
 binprefix = $(exec_prefix)
 manprefix = $(prefix)
@@ -121,7 +121,7 @@
 
 install: libgdbm.la gdbm.h gdbm.info
 	$(srcdir)/mkinstalldirs $(libdir) $(includedir) $(man3dir) $(infodir)
-	$(LIBTOOL) install -c libgdbm.la $(libdir)/libgdbm.la
+	$(LIBTOOL) $(INSTALL) -c libgdbm.la $(libdir)/libgdbm.la
 	$(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) gdbm.h $(includedir)/gdbm.h
 	$(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/gdbm.3 \
 		$(man3dir)/gdbm.3