$NetBSD: patch-ab,v 1.12 2009/09/02 15:27:48 joerg Exp $ --- Makefile.in.orig 2002-10-08 18:09:12.000000000 +0200 +++ Makefile.in @@ -14,10 +14,6 @@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ -# File ownership and group -BINOWN = bin -BINGRP = bin - MAKEINFO = makeinfo TEXI2DVI = texi2dvi @@ -130,22 +126,22 @@ install: libgdbm.la gdbm.h gdbm.info $(srcdir)/mkinstalldirs $(INSTALL_ROOT)$(libdir) \ $(INSTALL_ROOT)$(includedir) $(INSTALL_ROOT)$(man3dir) \ $(INSTALL_ROOT)$(infodir) - $(LIBTOOL) $(INSTALL) -c libgdbm.la $(INSTALL_ROOT)$(libdir)/libgdbm.la - $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) gdbm.h \ + $(LIBTOOL) --mode=install $(INSTALL) -c libgdbm.la $(INSTALL_ROOT)$(libdir)/libgdbm.la + $(INSTALL_DATA) gdbm.h \ $(INSTALL_ROOT)$(includedir)/gdbm.h - $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/gdbm.3 \ + $(INSTALL_DATA) $(srcdir)/gdbm.3 \ $(INSTALL_ROOT)$(man3dir)/gdbm.3 - $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/gdbm.info \ + $(INSTALL_DATA) $(srcdir)/gdbm.info \ $(INSTALL_ROOT)$(infodir)/gdbm.info install-compat: $(srcdir)/mkinstalldirs $(INSTALL_ROOT)$(libdir) \ $(INSTALL_ROOT)$(includedir) - $(LIBTOOL) $(INSTALL) -c libgdbm_compat.la \ + $(LIBTOOL) --mode=install $(INSTALL) -c libgdbm_compat.la \ $(INSTALL_ROOT)$(libdir)/libgdbm_compat.la - $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/dbm.h \ + $(INSTALL_DATA) $(srcdir)/dbm.h \ $(INSTALL_ROOT)$(includedir)/dbm.h - $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/ndbm.h \ + $(INSTALL_DATA) $(srcdir)/ndbm.h \ $(INSTALL_ROOT)$(includedir)/ndbm.h #libgdbm.a: $(OBJS) gdbm.h @@ -172,10 +168,10 @@ gdbm.h: gdbm.proto gdbmerrno.h gdbm.prot chmod -w gdbm.h testgdbm: testgdbm.o libgdbm.la @LIBOBJS@ - $(LIBTOOL) $(CC) $(LDFLAGS) -o testgdbm testgdbm.o libgdbm.la @LIBOBJS@ + $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o testgdbm testgdbm.o libgdbm.la @LIBOBJS@ testdbm: testdbm.o libgdbm.la libgdbm_compat.la - $(LIBTOOL) $(CC) $(LDFLAGS) -o testdbm testdbm.o libgdbm.la libgdbm_compat.la + $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o testdbm testdbm.o libgdbm.la libgdbm_compat.la tdbm: testdbm.o $(CC) $(LDFLAGS) -o tdbm testdbm.o $(LIBS) @@ -184,7 +180,7 @@ testndbm.o: testndbm.c $(CC) -c -I. -I$(srcdir) $(CFLAGS) $(DEFS) -DGNU $(srcdir)/testndbm.c testndbm: testndbm.o libgdbm.la libgdbm_compat.la - $(LIBTOOL) $(CC) $(LDFLAGS) -o testndbm testndbm.o libgdbm.la libgdbm_compat.la + $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o testndbm testndbm.o libgdbm.la libgdbm_compat.la tndbm.o: testndbm.c cp $(srcdir)/testndbm.c ./tndbm.c @@ -195,7 +191,7 @@ tndbm: tndbm.o $(CC) $(LDFLAGS) -o tndbm tndbm.o $(LIBS) conv2gdbm: conv2gdbm.o libgdbm.la @LIBOBJS@ - $(LIBTOOL) $(CC) $(LDFLAGS) -o conv2gdbm conv2gdbm.o $(LIBS) libgdbm.la @LIBOBJS@ + $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o conv2gdbm conv2gdbm.o $(LIBS) libgdbm.la @LIBOBJS@ lintgdbm: lint $(DEFS) $(LFLAGS) $(DBM_CF) $(NDBM_CF) $(GDBM_CF) testgdbm.c