pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/gdbm Always use --mode for libtool.
details: https://anonhg.NetBSD.org/pkgsrc/rev/604888ebb9bf
branches: trunk
changeset: 398561:604888ebb9bf
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Sep 02 15:27:48 2009 +0000
description:
Always use --mode for libtool.
diffstat:
databases/gdbm/distinfo | 4 +-
databases/gdbm/patches/patch-ab | 46 +++++++++++++++++++++++++++++++++++-----
2 files changed, 42 insertions(+), 8 deletions(-)
diffs (88 lines):
diff -r 2b6daf759fdf -r 604888ebb9bf databases/gdbm/distinfo
--- a/databases/gdbm/distinfo Wed Sep 02 14:43:06 2009 +0000
+++ b/databases/gdbm/distinfo Wed Sep 02 15:27:48 2009 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 16:33:05 agc Exp $
+$NetBSD: distinfo,v 1.6 2009/09/02 15:27:48 joerg Exp $
SHA1 (gdbm-1.8.3.tar.gz) = a0296b1986a99cb9ec0dc3b17ea99aec76e9b760
RMD160 (gdbm-1.8.3.tar.gz) = 0f5741ab32f95db721c5d9f4548447301171e938
Size (gdbm-1.8.3.tar.gz) = 228695 bytes
-SHA1 (patch-ab) = 057163a0ee7b2b479d663a578eb77e10113603b1
+SHA1 (patch-ab) = a97baa1513fbc4979c7393ed7d8b9502ec882f4f
diff -r 2b6daf759fdf -r 604888ebb9bf databases/gdbm/patches/patch-ab
--- a/databases/gdbm/patches/patch-ab Wed Sep 02 14:43:06 2009 +0000
+++ b/databases/gdbm/patches/patch-ab Wed Sep 02 15:27:48 2009 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.11 2002/11/01 00:31:18 wiz Exp $
+$NetBSD: patch-ab,v 1.12 2009/09/02 15:27:48 joerg Exp $
---- Makefile.in.orig Tue Oct 8 18:09:12 2002
+--- Makefile.in.orig 2002-10-08 18:09:12.000000000 +0200
+++ Makefile.in
@@ -14,10 +14,6 @@ INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
@@ -13,11 +13,13 @@
MAKEINFO = makeinfo
TEXI2DVI = texi2dvi
-@@ -131,11 +127,11 @@ install: libgdbm.la gdbm.h gdbm.info
+@@ -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
+- $(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 \
@@ -28,9 +30,10 @@
$(INSTALL_ROOT)$(infodir)/gdbm.info
install-compat:
-@@ -143,9 +139,9 @@ install-compat:
+ $(srcdir)/mkinstalldirs $(INSTALL_ROOT)$(libdir) \
$(INSTALL_ROOT)$(includedir)
- $(LIBTOOL) $(INSTALL) -c libgdbm_compat.la \
+- $(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 \
@@ -40,3 +43,34 @@
$(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
Home |
Main Index |
Thread Index |
Old Index