pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/readline Suppress the "inferring the mode of ope...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/61c20ae1fcac
branches:  trunk
changeset: 474207:61c20ae1fcac
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon Apr 26 08:01:20 2004 +0000

description:
Suppress the "inferring the mode of operation is deprecated" warning by
specifying the mode of operation when invoking libtool.

diffstat:

 devel/readline/distinfo         |   4 ++--
 devel/readline/patches/patch-ae |  18 +++++++++---------
 2 files changed, 11 insertions(+), 11 deletions(-)

diffs (72 lines):

diff -r 34f98843707d -r 61c20ae1fcac devel/readline/distinfo
--- a/devel/readline/distinfo   Mon Apr 26 07:46:11 2004 +0000
+++ b/devel/readline/distinfo   Mon Apr 26 08:01:20 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2003/06/30 10:26:45 uebayasi Exp $
+$NetBSD: distinfo,v 1.7 2004/04/26 08:01:20 jlam Exp $
 
 SHA1 (readline-4.3.tar.gz) = 4e226fd5f6f919707f11b9e28d47b5487448895d
 Size (readline-4.3.tar.gz) = 961662 bytes
@@ -12,4 +12,4 @@
 Size (readline43-004) = 3140 bytes
 SHA1 (readline43-005) = a022e113b8ad603d1020e99308de0a917626d1e1
 Size (readline43-005) = 1056 bytes
-SHA1 (patch-ae) = 1198bd554f1ee77397017ab4eee347f1ba50d515
+SHA1 (patch-ae) = af04c7e2646dbc510cfc139c025b47e6769ccd85
diff -r 34f98843707d -r 61c20ae1fcac devel/readline/patches/patch-ae
--- a/devel/readline/patches/patch-ae   Mon Apr 26 07:46:11 2004 +0000
+++ b/devel/readline/patches/patch-ae   Mon Apr 26 08:01:20 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ae,v 1.8 2002/12/07 17:39:48 jmmv Exp $
+$NetBSD: patch-ae,v 1.9 2004/04/26 08:01:20 jlam Exp $
 
 --- Makefile.in.orig   Thu Jan 24 16:15:24 2002
 +++ Makefile.in
@@ -17,7 +17,7 @@
  .c.o:
        ${RM} $@
 -      $(CC) -c $(CCFLAGS) $<
-+      $(LIBTOOL) $(CC) -c $(CCFLAGS) $<
++      $(LIBTOOL) --mode=compile $(CC) -c $(CCFLAGS) $<
  
  # The name of the main library target.
  LIBRARY_NAME = libreadline.a
@@ -40,8 +40,8 @@
        -test -n "$(RANLIB)" && $(RANLIB) $@
  
 +libreadline.la: $(OBJECTS)
-+      ${LIBTOOL} ${RM} $@
-+      ${LIBTOOL} ${CC} -o $@ ${OBJECTS:.o=.lo}                        \
++      ${LIBTOOL} --mode=uninstall ${RM} $@
++      ${LIBTOOL} --mode=link ${CC} -o $@ ${OBJECTS:.o=.lo}            \
 +              -rpath $(libdir)                                        \
 +              -version-info ${SHLIB_MAJOR}:${SHLIB_MINOR}
 +
@@ -53,13 +53,13 @@
  tilde.o:      tilde.c
        rm -f $@
 -      $(CC) $(CCFLAGS) -DREADLINE_LIBRARY -c $(srcdir)/tilde.c
-+      $(LIBTOOL) $(CC) $(CCFLAGS) -DREADLINE_LIBRARY -c $(srcdir)/tilde.c
++      $(LIBTOOL) --mode=compile $(CC) $(CCFLAGS) -DREADLINE_LIBRARY -c $(srcdir)/tilde.c
  
 -readline: $(OBJECTS) readline.h rldefs.h chardefs.h ./libreadline.a
 -      $(CC) $(CCFLAGS) -o $@ ./examples/rl.c ./libreadline.a ${TERMCAP_LIB}
 +libhistory.la: $(HISTOBJ) xmalloc.o
-+      ${LIBTOOL} $(RM) $@
-+      ${LIBTOOL} ${CC} -o $@ ${HISTOBJ:.o=.lo} xmalloc.lo             \
++      ${LIBTOOL} --mode=uninstall $(RM) $@
++      ${LIBTOOL} --mode=link ${CC} -o $@ ${HISTOBJ:.o=.lo} xmalloc.lo \
 +              -rpath $(libdir)                                        \
 +              -version-info ${SHLIB_MAJOR}:${SHLIB_MINOR}
 +
@@ -70,8 +70,8 @@
        $(MAKE) $(MFLAGS) CCFLAGS='$(GCC_LINT_CFLAGS)' static
 +
 +install-la: installdirs $(LIBTOOL_LIBS) install-headers
-+      ${LIBTOOL} ${INSTALL_DATA} libreadline.la $(libdir)
-+      ${LIBTOOL} ${INSTALL_DATA} libhistory.la $(libdir)
++      ${LIBTOOL} --mode=install ${INSTALL_DATA} libreadline.la $(libdir)
++      ${LIBTOOL} --mode=install ${INSTALL_DATA} libhistory.la $(libdir)
 +      -( if test -d doc ; then \
 +              cd doc && \
 +              ${MAKE} ${MFLAGS} infodir=$(infodir) install; \



Home | Main Index | Thread Index | Old Index