summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-04-26 08:01:20 +0000
committerjlam <jlam@pkgsrc.org>2004-04-26 08:01:20 +0000
commit331c3e3ecdcf7112f169b1053f356fdc1f1f600a (patch)
tree7f5a547395dc26f6d26f90ed20c07be373a2a6e1
parentfa6b59b9c9babd6a11e8f1f798cdf27f82428509 (diff)
downloadpkgsrc-331c3e3ecdcf7112f169b1053f356fdc1f1f600a.tar.gz
Suppress the "inferring the mode of operation is deprecated" warning by
specifying the mode of operation when invoking libtool.
-rw-r--r--devel/readline/distinfo4
-rw-r--r--devel/readline/patches/patch-ae18
2 files changed, 11 insertions, 11 deletions
diff --git a/devel/readline/distinfo b/devel/readline/distinfo
index 768be68c9fa..bfa8e355999 100644
--- a/devel/readline/distinfo
+++ b/devel/readline/distinfo
@@ -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 @@ SHA1 (readline43-004) = 24bef0b7bda1cafd0475098ed7a01f45a58765e6
Size (readline43-004) = 3140 bytes
SHA1 (readline43-005) = a022e113b8ad603d1020e99308de0a917626d1e1
Size (readline43-005) = 1056 bytes
-SHA1 (patch-ae) = 1198bd554f1ee77397017ab4eee347f1ba50d515
+SHA1 (patch-ae) = af04c7e2646dbc510cfc139c025b47e6769ccd85
diff --git a/devel/readline/patches/patch-ae b/devel/readline/patches/patch-ae
index 1073b8dfe5d..1053138561a 100644
--- a/devel/readline/patches/patch-ae
+++ b/devel/readline/patches/patch-ae
@@ -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 @@ $NetBSD: patch-ae,v 1.8 2002/12/07 17:39:48 jmmv Exp $
.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 @@ $NetBSD: patch-ae,v 1.8 2002/12/07 17:39:48 jmmv Exp $
-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 @@ $NetBSD: patch-ae,v 1.8 2002/12/07 17:39:48 jmmv Exp $
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 @@ $NetBSD: patch-ae,v 1.8 2002/12/07 17:39:48 jmmv Exp $
$(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; \